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 717bada commit e139a53Copy full SHA for e139a53
package/src/components/MessageInput/AttachButton.tsx
@@ -54,7 +54,7 @@ const AttachButtonWithContext = <
54
};
55
56
const attachButtonHandler = () => {
57
- setShowAttachButtonPicker(true);
+ setShowAttachButtonPicker((prevShowAttachButtonPicker) => !prevShowAttachButtonPicker);
58
59
60
const onPressHandler = () => {
0 commit comments