Skip to content

Commit d3670ef

Browse files
Add handleSubmit to the dependency array (#1989)
1 parent 9817c06 commit d3670ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/MessageInput/hooks/useCreateMessageInputContext.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export const useCreateMessageInputContext = <
157157
showCommandsList,
158158
showMentionsList,
159159
text,
160+
handleSubmit,
160161
],
161162
);
162163

0 commit comments

Comments
 (0)