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 () => {
setUsername("");
setPassword("");
setEmail("");
console.log("heh");
if (await UserRegister({ username, email, password })) {
setFeedback(