add missing dependency on useEffect

This commit is contained in:
Zamitto 2024-06-16 23:47:31 -03:00
parent 16f862d389
commit 15176a12de

View file

@ -27,7 +27,7 @@ export function useUserAuth() {
useEffect(() => {
updateUserAuth();
}, []);
}, [updateUserAuth]);
const clearUserAuth = useCallback(async () => {
dispatch(setUserAuth(null));