diff --git a/src/app/app.tsx b/src/app/app.tsx index bf4fe1ce..9faea113 100644 --- a/src/app/app.tsx +++ b/src/app/app.tsx @@ -6,7 +6,7 @@ import { PageLayout } from 'common'; import { Login } from './containers/pages/login'; -const App = () => ( +export const App = () => ( @@ -14,4 +14,3 @@ const App = () => ( ); -export default App; diff --git a/src/app/index.tsx b/src/app/index.tsx index e6ce5085..cae0a36d 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -5,7 +5,7 @@ import { ToastContainer } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; import { configureAppStore } from '../store/configureStore'; -import App from './app'; +import { App } from './app'; import { ErrorBoundary } from './components'; const MOUNTED_NODE = document.getElementById('root') as HTMLElement; @@ -15,7 +15,7 @@ interface Props { Component: typeof App; } -export const ConnectedApp = ({ Component }: Props): JSX.Element => ( +const ConnectedApp = ({ Component }: Props): JSX.Element => (