updates on the ui changes and frully removed the mui and converted into astryx and color change
This commit is contained in:
11
src/App.js
11
src/App.js
@@ -4,7 +4,6 @@ import ThemeCustomization from 'themes';
|
||||
import Locales from 'components/Locales';
|
||||
// import RTLLayout from 'components/RTLLayout';
|
||||
import ScrollTop from 'components/ScrollTop';
|
||||
import Snackbar from 'components/@extended/Snackbar';
|
||||
import Notistack from 'components/third-party/Notistack';
|
||||
import { useNavigate } from 'react-router';
|
||||
import { useEffect } from 'react';
|
||||
@@ -29,12 +28,10 @@ const AppContent = () => {
|
||||
return () => unsubscribe?.();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<>
|
||||
<Routes />
|
||||
<Snackbar />
|
||||
</>
|
||||
);
|
||||
// The old redux-driven MUI <Snackbar> used to mount here. Nothing ever
|
||||
// dispatched `openSnackbar`, so it was permanently closed — every real toast
|
||||
// goes through notistack (OpenToast / GlobalToast). Removed with MUI.
|
||||
return <Routes />;
|
||||
};
|
||||
|
||||
// ==============================|| APP - THEME, ROUTER, LOCAL ||============================== //
|
||||
|
||||
Reference in New Issue
Block a user