mirror of
https://github.com/lemeow125/Reactnative-notesapp.git
synced 2024-11-16 22:19:26 +08:00
Reset email field after registering
This commit is contained in:
parent
68408f9170
commit
d2c141fafa
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ export default function Register() {
|
|||
onPress={async () => {
|
||||
setUsername("");
|
||||
setPassword("");
|
||||
setEmail("");
|
||||
console.log("heh");
|
||||
if (await UserRegister({ username, email, password })) {
|
||||
setFeedback(
|
||||
|
|
Loading…
Reference in a new issue