Reset email field after registering

This commit is contained in:
keannu125 2023-04-16 20:38:10 +08:00
parent 68408f9170
commit d2c141fafa

View file

@ -51,6 +51,7 @@ export default function Register() {
onPress={async () => { onPress={async () => {
setUsername(""); setUsername("");
setPassword(""); setPassword("");
setEmail("");
console.log("heh"); console.log("heh");
if (await UserRegister({ username, email, password })) { if (await UserRegister({ username, email, password })) {
setFeedback( setFeedback(