From 8c3f890a6b1a0cb389542651f8051124cf04a223 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 9 Feb 2022 13:38:03 +0100 Subject: [PATCH] disable fs api because it breaks directory upload --- packages/website/src/components/Uploader/Uploader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/website/src/components/Uploader/Uploader.js b/packages/website/src/components/Uploader/Uploader.js index 5772bca9..ad74a67d 100644 --- a/packages/website/src/components/Uploader/Uploader.js +++ b/packages/website/src/components/Uploader/Uploader.js @@ -91,7 +91,10 @@ const Uploader = () => { } }, [uploads]); - const { getRootProps, getInputProps, isDragActive, inputRef } = useDropzone({ onDrop: handleDrop }); + const { getRootProps, getInputProps, isDragActive, inputRef } = useDropzone({ + onDrop: handleDrop, + useFsAccessApi: false, + }); const inputElement = inputRef.current; React.useEffect(() => {