From d2c141fafa7bdb07b3c4db3356ef56fa5297da61 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 16 Apr 2023 20:38:10 +0800 Subject: [PATCH] Reset email field after registering --- src/Routes/Register/Register.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Routes/Register/Register.tsx b/src/Routes/Register/Register.tsx index 34497c1..51416d7 100644 --- a/src/Routes/Register/Register.tsx +++ b/src/Routes/Register/Register.tsx @@ -51,6 +51,7 @@ export default function Register() { onPress={async () => { setUsername(""); setPassword(""); + setEmail(""); console.log("heh"); if (await UserRegister({ username, email, password })) { setFeedback(