/** * Index - Redirects to the appropriate screen */ import { Redirect } from 'expo-router'; import { useAuth } from '../src/hooks/useAuth'; export default function Index() { const { isAuthenticated, isLoading } = useAuth(); if (isLoading) { return null; } if (isAuthenticated) { return ; } return ; }