mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
add missing dependency on useEffect
This commit is contained in:
@@ -27,7 +27,7 @@ export function useUserAuth() {
|
||||
|
||||
useEffect(() => {
|
||||
updateUserAuth();
|
||||
}, []);
|
||||
}, [updateUserAuth]);
|
||||
|
||||
const clearUserAuth = useCallback(async () => {
|
||||
dispatch(setUserAuth(null));
|
||||
|
||||
Reference in New Issue
Block a user