From 25994482786eb11419e1d786d6992d95e43ca547 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Wed, 15 May 2024 15:27:29 +0200 Subject: [PATCH] fix bug --- src/renderer/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index ec2e0bd4..5db4205b 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -2435,7 +2435,7 @@ function App() { actionsWithCatch.forEach(([key, action]) => electron.ipcRenderer.off(key, action)); electron.ipcRenderer.off('apiKeyboardAction', tryApiKeyboardAction); }; - }, [checkFileOpened, customOutDir, detectedFps, filePath, getFrameCount, getKeyboardAction, loadCutSegments, mainActions, selectedSegments, userOpenFiles]); + }, [checkFileOpened, customOutDir, detectedFps, filePath, getFrameCount, getKeyboardAction, loadCutSegments, mainActions, selectedSegments, toggleKeyboardShortcuts, userOpenFiles]); useEffect(() => { async function onDrop(ev: DragEvent) {