import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { BrowserRouter as Router, Redirect, Route, Switch } from 'react-router-dom' import { ApplicationLoader } from './components/application-loader/application-loader' import { NotFoundErrorScreen } from './components/common/routing/not-found-error-screen' import { Redirector } from './components/common/routing/redirector' import { Editor } from './components/editor/editor' import { ErrorBoundary } from './components/error-boundary/error-boundary' import { HistoryPage } from './components/history-page/history-page' import { IntroPage } from './components/intro-page/intro-page' import { LandingLayout } from './components/landing-layout/landing-layout' import { LoginPage } from './components/login-page/login-page' import { ProfilePage } from './components/profile-page/profile-page' import { RegisterPage } from './components/register-page/register-page' import { store } from './redux' import * as serviceWorker from './service-worker' import './style/index.scss' ReactDOM.render( , document.getElementById('root') ) // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. // Learn more about service workers: https://bit.ly/CRA-PWA serviceWorker.unregister()