We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a0881 commit eb8281aCopy full SHA for eb8281a
common/js/components/Main.js
common/js/containers/App/index.js
@@ -1,14 +1,18 @@
1
import React from 'react';
2
-import Main from 'components/Main';
+import { Switch, Route } from 'react-router-dom';
3
+import { Container } from 'semantic-ui-react';
4
import Header from 'components/Header';
5
import Footer from 'components/Footer';
6
+import routes from 'routes';
7
8
const App = () => (
- <div>
9
+ <Container fluid={false}>
10
<Header />
- <Main />
11
+ <Switch>
12
+ {routes.map(route => <Route key={route.path} {...route} />)}
13
+ </Switch>
14
<Footer />
- </div>
15
+ </Container>
16
);
17
18
export default App;
0 commit comments