fix: lint error

This commit is contained in:
DiamondThree
2023-01-09 23:42:38 +08:00
parent 319a5e4dc1
commit c1261e7977

View File

@@ -52,7 +52,7 @@ export const AppStateProvider = ({
}; };
init(); init();
}, [setAppState]); }, [appState.currentWorkspace]);
useEffect(() => { useEffect(() => {
if (!appState?.currentWorkspace) { if (!appState?.currentWorkspace) {