Skip to content

Commit 9292dc7

Browse files
committed
Fix: Remove incorrect fallback that disabled feature detection
1 parent fe18fd0 commit 9292dc7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/component/fileBrowser.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ const LocalFileBrowser = ({ superState, dispatcher }) => {
2323
if ('showDirectoryPicker' in window) {
2424
setDirButton(true);
2525
}
26-
// Force fallback to webkitdirectory to allow custom popup flow
27-
setDirButton(false);
26+
2827
dispatcher({ type: T.SET_FILE_REF, payload: fileRef });
2928
}, []);
3029

0 commit comments

Comments
 (0)