Commit db959de
authored
fix: Reduce sending two messages from VoiceMessageInputWrapper (#455)
[UIKIT-3260](https://sendbird.atlassian.net/browse/UIKIT-3260)
Issue:
* Sending two voice messages when the playing status has been changed
before sending voice message
Fixes:
* Remove the dependency `playingStatus` from onSubmitClick in the
VoiceMessageInputWrapper component
* Clean up the states after sending a voice message in the
VoiceMessageInputWrapper component1 parent b092569 commit db959de
File tree
1 file changed
+4
-0
lines changed- src/smart-components/Channel/components/MessageInput
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments