diff options
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 /> |
