Clean up
This commit is contained in:
parent
8e25ca5dd7
commit
dc446fe8dc
@ -1,18 +0,0 @@
|
|||||||
import { StatusBar } from "expo-status-bar";
|
|
||||||
import { StyleSheet, Text, View } from "react-native";
|
|
||||||
import { LoginForm } from "./screens/Login";
|
|
||||||
|
|
||||||
export default function App() {
|
|
||||||
return (
|
|
||||||
<View style={styles.container}>
|
|
||||||
<StatusBar style="light" />
|
|
||||||
<LoginForm />
|
|
||||||
</View>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
flex: 1,
|
|
||||||
},
|
|
||||||
});
|
|
@ -1,9 +1,11 @@
|
|||||||
import { Slot } from "expo-router";
|
import { Slot } from "expo-router";
|
||||||
|
import { StatusBar } from "expo-status-bar";
|
||||||
import { AuthProvider } from "./context/AuthContext";
|
import { AuthProvider } from "./context/AuthContext";
|
||||||
|
|
||||||
export default function Root() {
|
export default function Root() {
|
||||||
return (
|
return (
|
||||||
<AuthProvider>
|
<AuthProvider>
|
||||||
|
<StatusBar style="light" />
|
||||||
<Slot />
|
<Slot />
|
||||||
</AuthProvider>
|
</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;
|
|
Loading…
Reference in New Issue
Block a user