feat: 회원가입 화면 생성
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { Button, StyleSheet, View } from "react-native";
|
||||
import { useAuth } from "../store/auth";
|
||||
|
||||
export default function HomeScreen() {
|
||||
const { signOut } = useAuth();
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Button
|
||||
@@ -12,6 +14,7 @@ export default function HomeScreen() {
|
||||
console.log(entries);
|
||||
}}
|
||||
/>
|
||||
<Button title="logout" onPress={() => signOut()}></Button>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user