diff --git a/src/components/dashboard/NavBar.tsx b/src/components/dashboard/NavBar.tsx index 4240d8af..f9b4bc90 100644 --- a/src/components/dashboard/NavBar.tsx +++ b/src/components/dashboard/NavBar.tsx @@ -113,7 +113,7 @@ export const NavBar: React.FC = ({ if (data.ok) { dispatch({ type: "LOGOUT" }); window.localStorage.removeItem("user"); - notify('success', t('navbar.notifications.success.logout')); + // notify('success', t('navbar.notifications.success.logout')); navigate("/login"); } } catch (error: any) { diff --git a/src/components/ui/AlertSnackbar.tsx b/src/components/ui/AlertSnackbar.tsx index 3cf5c554..e59e637b 100644 --- a/src/components/ui/AlertSnackbar.tsx +++ b/src/components/ui/AlertSnackbar.tsx @@ -32,7 +32,7 @@ export const AlertSnackbar = ({ severity, message, isOpen }: AlertSnackbarProps) return ( - + {message}