mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
add missing dependency on useEffect
This commit is contained in:
parent
16f862d389
commit
15176a12de
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export function useUserAuth() {
|
|||
|
||||
useEffect(() => {
|
||||
updateUserAuth();
|
||||
}, []);
|
||||
}, [updateUserAuth]);
|
||||
|
||||
const clearUserAuth = useCallback(async () => {
|
||||
dispatch(setUserAuth(null));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue