authContext.authStateIsLoading not blocking the redirect hook properly. Requires the following band-aid:
// Auth Context
const { authStateIsLoading, user } = useContext(AuthContext);
// Auth Redirect
useAuthStateRedirect({
allowAuthStates: authStateIsLoading
? ["authenticated", "guest"]
: ["authenticated"],
});
authContext.authStateIsLoadingnot blocking the redirect hook properly. Requires the following band-aid: