diff --git a/src/Routes/Register/Register.tsx b/src/Routes/Register/Register.tsx index 40fc27f..1224982 100644 --- a/src/Routes/Register/Register.tsx +++ b/src/Routes/Register/Register.tsx @@ -66,7 +66,9 @@ export default function Register() { variant="contained" onClick={async () => { setUser({ - ...user, + email: "", + username: "", + password: "", }); if (await UserRegister(user)) { setFeedback(