Profile default on logout
This commit is contained in:
parent
9d7fea284a
commit
69f4bc837a
|
|
@ -28,7 +28,7 @@ const ProfileDropdown = () => {
|
|||
});
|
||||
setCurrentUser(null);
|
||||
await logout();
|
||||
history.push('/');
|
||||
history.push('/profile');
|
||||
};
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue