feat: shasha is the best
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
"@mantine/dates": "^7.13.5",
|
||||
"@mantine/dropzone": "^7.11.2",
|
||||
"@mantine/form": "^7.11.2",
|
||||
"@mantine/hooks": "^7.11.2",
|
||||
"@mantine/hooks": "^7.17.4",
|
||||
"@mantine/modals": "^7.11.2",
|
||||
"@mantine/notifications": "^7.11.2",
|
||||
"@reduxjs/toolkit": "^2.2.6",
|
||||
|
||||
@@ -47,7 +47,7 @@ const useChatContextState = () => {
|
||||
const [isMessageSending, setIsMessageSending] = useState<boolean>(false);
|
||||
|
||||
useEffect(() => {
|
||||
filesHandlers.append(...Array.from(fileDialog.files ?? []));
|
||||
filesHandlers.append(...Array.from(fileDialog.files ?? []) as File[]);
|
||||
}, [fileDialog.files]);
|
||||
|
||||
const form = useForm<MessageForm>({
|
||||
|
||||
Reference in New Issue
Block a user