Added user button and menu.

This commit is contained in:
Mike Cao 2020-08-05 23:03:07 -07:00
parent a5930f1772
commit 6e23a8a53b
21 changed files with 268 additions and 83 deletions

View file

@ -31,7 +31,7 @@ export default function useRequireLogin() {
return;
}
await dispatch(updateUser({ user }));
await dispatch(updateUser(user));
setUser(user);
setLoading(false);