Clean up login since state no longer tracks tokens

This commit is contained in:
Keannu Christian Bernasol 2023-07-04 17:00:22 +08:00
parent a027115836
commit c4f241f799
2 changed files with 2 additions and 12 deletions

View file

@ -80,12 +80,6 @@ export default function Login() {
}).then((result) => {
if (result[0]) {
setUser({ ...user, username: "", password: "", error: "" });
/*console.log(
"Access Token:",
result[1],
"\nRefresh Token:",
result[2]
);*/
navigation.navigate("Onboarding");
} else {
setUser({