Skip to content

Commit

Permalink
chore: revert sendMessage in the dep array
Browse files Browse the repository at this point in the history
  • Loading branch information
isekovanic committed Sep 18, 2024
1 parent a7053fe commit 48bd9d6
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,7 @@ export const useCreateInputMessageInputContext = <
UploadProgressIndicator,
}),
// eslint-disable-next-line react-hooks/exhaustive-deps
[
compressImageQuality,
channelId,
editingDep,
initialValue,
maxMessageLength,
quotedMessageId,
sendMessage,
],
[compressImageQuality, channelId, editingDep, initialValue, maxMessageLength, quotedMessageId],
);

return inputMessageInputContext;
Expand Down

0 comments on commit 48bd9d6

Please sign in to comment.