fixing bugs where rendering overwrites local state. user profiles

This commit is contained in:
2022-06-01 11:04:37 -05:00
parent 5ccb20d388
commit 2ef6121e19
6 changed files with 64 additions and 20 deletions

View File

@@ -35,5 +35,5 @@ export const handleLogin = async (email: string, password: string) => {
body: JSON.stringify({ email: email, password: password })
});
if (serverCall.ok) return serverCall;
return serverCall;
}