Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: await word replace before submitting message (#2332)
### π― Goal Fixes a race condition with emoji auto-replacement when submitting a message. ### π Implementation details `_replaceWord` is an async method, we should await it before submitting. ### π¨ UI Changes Before: https://github.com/GetStream/stream-chat-react/assets/975978/d989b491-d301-43c0-9386-ffc41f00f4ee After: https://github.com/GetStream/stream-chat-react/assets/975978/3fcf49bf-84e2-46cc-92f4-9eafd2f1c2b0 ### To-Do - [ ] Bump SDK in website demo
- Loading branch information