We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a32ee commit 3ddcb44Copy full SHA for 3ddcb44
package/src/contexts/messageInputContext/MessageInputContext.tsx
@@ -579,10 +579,7 @@ export const MessageInputProvider = ({
579
580
try {
581
const composition = await messageComposer.compose();
582
- // This is added to ensure the input box is cleared if there's no change and user presses on the send button.
583
- if (!composition && editedMessage) {
584
- clearEditingState();
585
- }
+
586
if (!composition || !composition.message) return;
587
588
const { localMessage, message, sendOptions } = composition;
0 commit comments