From c68febab17fd69e1393115d6853a2296b97e18cd Mon Sep 17 00:00:00 2001 From: Jas Laferriere Date: Mon, 31 Jul 2023 11:27:27 -0400 Subject: [PATCH] fix: stay in folder after closing dolphin --- src/renderer/lib/hooks/useAppListeners.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/lib/hooks/useAppListeners.ts b/src/renderer/lib/hooks/useAppListeners.ts index 0dabc3567..b8e9fb40d 100644 --- a/src/renderer/lib/hooks/useAppListeners.ts +++ b/src/renderer/lib/hooks/useAppListeners.ts @@ -174,7 +174,7 @@ export const useAppListeners = () => { const extraSlpPaths = useSettings((store) => store.settings.extraSlpPaths); React.useEffect(() => { init(rootSlpPath, extraSlpPaths, true).catch(console.error); - }, [rootSlpPath, extraSlpPaths, init]); + }, [rootSlpPath, JSON.stringify(extraSlpPaths), init]); const { showError } = useToasts(); React.useEffect(() => {