You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
757 B

  1. // project import
  2. import Routes from 'routes';
  3. import ThemeCustomization from 'themes';
  4. import ScrollTop from 'components/ScrollTop';
  5. import {ToastContainer} from "react-toastify";
  6. import 'react-toastify/dist/ReactToastify.css';
  7. import {PNSPS_THEME} from "./themes/themeConst";
  8. import {ThemeProvider} from "@emotion/react";
  9. //import {isUserLoggedIn} from 'utils/Utils';
  10. //import {DefaultRoute} from 'routes/index'
  11. // ==============================|| APP - THEME, ROUTER, LOCAL ||============================== //
  12. const App = () => (
  13. <ThemeCustomization>
  14. <ThemeProvider theme={PNSPS_THEME}>
  15. <ScrollTop>
  16. <Routes>
  17. </Routes>
  18. </ScrollTop>
  19. </ThemeProvider>
  20. <ToastContainer/>
  21. </ThemeCustomization>
  22. );
  23. export default App;