Clean up
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
import { Slot } from "expo-router";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import { AuthProvider } from "./context/AuthContext";
|
||||
|
||||
export default function Root() {
|
||||
return (
|
||||
<AuthProvider>
|
||||
<StatusBar style="light" />
|
||||
<Slot />
|
||||
</AuthProvider>
|
||||
);
|
||||
|
@ -1,9 +0,0 @@
|
||||
import { Redirect, Link } from "expo-router";
|
||||
import { Text, View } from "react-native";
|
||||
import { AuthProvider } from "./context/AuthContext";
|
||||
|
||||
function HomePage() {
|
||||
return <Redirect href="/login" />;
|
||||
}
|
||||
|
||||
export default HomePage;
|
Reference in New Issue
Block a user