mirror of
https://github.com/lemeow125/Reactnative-notesapp.git
synced 2024-11-17 06:29:27 +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 () => {
|
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(
|
||||||
|
|
Loading…
Reference in a new issue