Update README + mise en commentaire du bouton s'inscrire

This commit is contained in:
Amaël Kesteman
2025-11-06 17:38:17 +01:00
parent aba59680b3
commit b2ec7194ed
4 changed files with 877 additions and 111 deletions

View File

@@ -23,14 +23,14 @@ const LoginScreen: React.FC = () => {
}
};
const handleRegister = async () => {
/*const handleRegister = async () => {
try {
await createUserWithEmailAndPassword(auth, email, password);
router.replace("/(tabs)");
} catch (error: any) {
alert(error.message);
}
};
}; */
return (
<View style={styles.container}>
@@ -51,7 +51,7 @@ const LoginScreen: React.FC = () => {
/>
<Button title="Se connecter" onPress={handleLogin} />
<View style={{ height: 10 }} />
<Button title="S'incrire" onPress={handleRegister} />
{/* <Button title="S'inscrire" onPress={handleRegister} /> */}
</View>
);
};