feat: shasha is the best

This commit is contained in:
2025-04-09 15:42:42 +03:00
parent 0ce8c42527
commit 281b655881
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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>({