Skip to content

Commit 53a0a87

Browse files
committed
chore: add todo
1 parent 38e7a08 commit 53a0a87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/MessageInput/hooks/useSubmitHandler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const useSubmitHandler = (props: MessageInputProps) => {
2020
const handleSubmit = useCallback(
2121
async (
2222
event?: React.BaseSyntheticEvent,
23+
// todo: think how can custom data be passed to both edited and created message. Do we want to keep customMessageData param
2324
customMessageData?: Omit<UpdatedMessage, 'mentioned_users'>,
2425
) => {
2526
event?.preventDefault();

0 commit comments

Comments
 (0)