import { Stack } from "expo-router"; import { Platform, View, StatusBar } from "react-native"; import { AuthProvider, useAuth } from "../contexts/AuthContext"; import LoginScreen from "../components/LoginScreen"; import "../global.css"; function RootLayoutContent() { const { isAuthenticated } = useAuth(); const content = isAuthenticated ? ( ) : ( ); const containerClass = Platform.OS === "web" ? "w-[400px] flex-1 flex-col self-end border-l border-gray-200 bg-white" : "bg-white"; const containerStyle = Platform.OS === "web" ? { width: 400, flex: 1, display: "flex", flexDirection: "column", pointerEvents: "auto", } : { flex: 1 }; return ( {content} ); } export default function RootLayout() { return ( ); }