import { Login } from "@/components/Auth/Login"; import { Loading } from "@/components/primitives/Loading"; import { useOAuthValue } from "@/providers/OAuthProvider"; import { Redirect } from "expo-router"; import { View } from "react-native"; const LoginPage = () => { const { isLoading, session } = useOAuthValue(); if (isLoading) { return ( ); } if (session) { return ; } return ( ); }; export default LoginPage;