import React, { Component } from 'react'; import { HashRouter, Route, Switch } from 'react-router-dom'; import './App.scss'; import 'react-notifications/lib/notifications.css'; import { Provider } from 'react-redux'; import { PersistGate } from 'redux-persist/integration/react'; import { persistor, store } from './appredux/store'; import { handleChangeLng } from "../src/utils/LangUtils"; const loading = () =>
Loading...
; const DefaultLayout = React.lazy(() => import('./containers/DefaultLayout')); const Login = React.lazy(() => import('./views/Pages/Login')); const Register = React.lazy(() => import('./views/Pages/Register')); const Page403 = React.lazy(() => import('./views/Pages/Page403')); const Page404 = React.lazy(() => import('./views/Pages/Page404')); const Page500 = React.lazy(() => import('./views/Pages/Page500')); const SiopasMap = React.lazy(() => import('./views/Map')); class App extends Component { render() { return ( } /> {/* } /> */} } /> } /> } /> } /> } /> {/* } />*/} {/* } />*/} } /> ); } } export default App;