1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-26 04:02:51 +01:00

fix hook bug

This commit is contained in:
Mikael Finstad 2020-03-31 15:45:20 +08:00
parent 3c5429f580
commit 51ce0a3fed

View File

@ -1214,7 +1214,7 @@ const App = memo(() => {
addStreamSourceFile(firstFile); addStreamSourceFile(firstFile);
setStreamsSelectorShown(true); setStreamsSelectorShown(true);
} }
}, [addStreamSourceFile, isFileOpened, load, mergeFiles]); }, [addStreamSourceFile, isFileOpened, load, mergeFiles, customOutDir]);
const onDrop = useCallback(async (ev) => { const onDrop = useCallback(async (ev) => {
ev.preventDefault(); ev.preventDefault();