diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 16:46:10 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 16:46:10 +0100 |
| commit | d0dc5cd83f1c436185d247600c3c5be9360bf1ca (patch) | |
| tree | 92db65b2a525b6512fd7f5349da561c476fe997e /scraper/client/app.js | |
| parent | 1563d1da307a78ddc388483fd95a68a511e18048 (diff) | |
displaying more info about the papers
Diffstat (limited to 'scraper/client/app.js')
| -rw-r--r-- | scraper/client/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scraper/client/app.js b/scraper/client/app.js index 81152c0c..5a0e5cc7 100644 --- a/scraper/client/app.js +++ b/scraper/client/app.js @@ -3,9 +3,7 @@ import { ConnectedRouter } from 'connected-react-router' import { Route, Switch } from 'react-router' import { Header, Footer } from './common' -// import * as Metadata from './metadata' -// import * as Search from './search' -// import * as Review from './review' +import * as Paper from './paper' export default class App extends Component { render() { @@ -15,6 +13,9 @@ export default class App extends Component { <Header /> <div className='app'> <div className='body'> + <Switch> + <Route exact path="/paper/:key/" component={Paper.Container} /> + </Switch> </div> </div> <Footer /> |
