chore: -rm logout notif
Comment out notification for successful logout.
This commit is contained in:
@@ -113,7 +113,7 @@ export const NavBar: React.FC<NavBarProps> = ({
|
|||||||
if (data.ok) {
|
if (data.ok) {
|
||||||
dispatch({ type: "LOGOUT" });
|
dispatch({ type: "LOGOUT" });
|
||||||
window.localStorage.removeItem("user");
|
window.localStorage.removeItem("user");
|
||||||
notify('success', t('navbar.notifications.success.logout'));
|
// notify('success', t('navbar.notifications.success.logout'));
|
||||||
navigate("/login");
|
navigate("/login");
|
||||||
}
|
}
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
|
|||||||
Reference in New Issue
Block a user