From f4235137f6e6cee16e78b26fd41c4653cc94e011 Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Tue, 15 Oct 2024 04:15:35 +0700 Subject: [PATCH] Fix file dialog not opening --- src/components/react/Tools/ToolsMain.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/react/Tools/ToolsMain.tsx b/src/components/react/Tools/ToolsMain.tsx index 73d641e..2f3c091 100644 --- a/src/components/react/Tools/ToolsMain.tsx +++ b/src/components/react/Tools/ToolsMain.tsx @@ -7,13 +7,15 @@ export interface ToolsMainProps { } export function ToolsMain({ ctx }: ToolsMainProps) { - const { getRootProps, open } = useToolsDropzone(true); + const { getRootProps, getInputProps, open } = useToolsDropzone(true); return (
+ +