import React from 'react'; import { hot } from 'react-hot-loader/root'; import { Route, Switch } from 'react-router-dom'; import { Store } from 'app/reducers'; import AuthFlowRoute from 'app/containers/AuthFlowRoute'; import RootPage from 'app/pages/root/RootPage'; import SuccessOauthPage from 'app/pages/auth/SuccessOauthPage'; import ContextProvider from './ContextProvider'; const App = ({ store, history }: { store: Store; history: any }) => ( null} /> ); export default hot(App);