fix login & logout again

This commit is contained in:
Muhammad Fajar
2022-12-07 02:46:24 +07:00
parent 2bac2bfeb7
commit e13b99a34a
3 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ export default function AccountPopover() {
const handleLogout = () => {
logout();
navigate('/auth/login');
enqueueSnackbar('Berhasi Logout!', 'success');
enqueueSnackbar('Logout Berhasil!', { variant: 'success' });
};
return (