Update .env #49
Annotations
4 warnings
lint / lint:
src/Login.tsx#L44
React Hook useEffect has missing dependencies: 'user.determiningStatus' and 'user.isAdmin'. Either include them or remove the dependency array
|
lint / lint:
src/ProtectedRoute.tsx#L55
React Hook useEffect has missing dependencies: 'logout', 'paramCallback', 'paramToCheck', 'params', 'user', and 'verifyAdminStatus'. Either include them or remove the dependency array. If 'paramCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint / lint:
src/store/hooks/useAuth.tsx#L157
React Hook useEffect has missing dependencies: 'loadingNullUser', 'logout', 'nonAuthUser', and 'verifyAdminStatus'. Either include them or remove the dependency array
|
lint / lint:
src/store/hooks/useAuth.tsx#L164
React Hook useMemo has missing dependencies: 'logout' and 'verifyAdminStatus'. Either include them or remove the dependency array
|