import { Redirect, Stack } from "expo-router"; import { useAuth } from "../../lib/auth"; import { colors } from "../../lib/theme"; import { LoadingScreen } from "../../lib/ui"; export default function AuthLayout() { const { isLoading, isAuthenticated } = useAuth(); if (isLoading) { return ; } if (isAuthenticated) { return ; } return ( ); }