Made register button functional in login page

This commit is contained in:
keannu125 2023-04-16 20:48:20 +08:00
parent d2c141fafa
commit 6bbc3d5c8e

View file

@ -85,7 +85,12 @@ export default function Login() {
<Text style={styles.loginText}>LOGIN</Text> <Text style={styles.loginText}>LOGIN</Text>
</TouchableOpacity> </TouchableOpacity>
<Text style={styles.text_small_red}>{error}</Text> <Text style={styles.text_small_red}>{error}</Text>
<TouchableOpacity style={styles.registerbtn}> <TouchableOpacity
onPress={() => {
navigation.navigate("Register");
}}
style={styles.registerbtn}
>
<Text style={styles.registertext}>REGISTER</Text> <Text style={styles.registertext}>REGISTER</Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>