Update .env #49
Annotations
4 warnings
Run linter:
src/Login.tsx#L44
React Hook useEffect has missing dependencies: 'user.determiningStatus' and 'user.isAdmin'. Either include them or remove the dependency array
|
Run linter:
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
|
Run linter:
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
|
Run linter:
src/store/hooks/useAuth.tsx#L164
React Hook useMemo has missing dependencies: 'logout' and 'verifyAdminStatus'. Either include them or remove the dependency array
|
Loading