Skip to content

Commit

Permalink
fix saving (#6)
Browse files Browse the repository at this point in the history
* fix: WatchMissingNodeModulesPlugin was commented (#3)

Co-authored-by: Evgeniy Volkov <evgenii.volkov@leroymerlin.ru>
  • Loading branch information
methodnumber13 and Evgeniy Volkov authored Oct 11, 2021
1 parent 06f7a49 commit 3ee4333
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import { PageLayout } from 'common';

import { Login } from './containers/pages/login';

const App = () => (
export const App = () => (
<PageLayout>
<Switch>
<Route exact path="/login" component={Login} />
<Route path="*" component={() => <>404 NOT FOUND</>} />
</Switch>
</PageLayout>
);
export default App;
4 changes: 2 additions & 2 deletions src/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -15,7 +15,7 @@ interface Props {
Component: typeof App;
}

export const ConnectedApp = ({ Component }: Props): JSX.Element => (
const ConnectedApp = ({ Component }: Props): JSX.Element => (
<ErrorBoundary>
<Provider store={store}>
<BrowserRouter>
Expand Down

0 comments on commit 3ee4333

Please sign in to comment.