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(() => {