Skip to content

Commit

Permalink
fix: stay in folder after closing dolphin
Browse files Browse the repository at this point in the history
  • Loading branch information
JLaferri committed Jul 31, 2023
1 parent 5e14dad commit c68feba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/lib/hooks/useAppListeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit c68feba

Please sign in to comment.