summaryrefslogtreecommitdiff
path: root/frontend/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app.js')
-rw-r--r--frontend/app.js17
1 files changed, 6 insertions, 11 deletions
diff --git a/frontend/app.js b/frontend/app.js
index 5be0c0f..d6bbcb8 100644
--- a/frontend/app.js
+++ b/frontend/app.js
@@ -2,8 +2,6 @@ import React, { Component } from 'react'
import { ConnectedRouter } from 'connected-react-router'
import { Route } from 'react-router'
-import { Header } from './common'
-
// import actions from './actions'
import * as views from './views'
@@ -31,15 +29,12 @@ export default class App extends Component {
return (
<ConnectedRouter history={this.props.history}>
<div className='app'>
- <Header />
- <div className='body'>
- {viewList}
- <Route exact key='root' path='/' render={() => {
- // redirect to index!!
- setTimeout(() => this.props.history.push('/index'), 10)
- return null
- }} />
- </div>
+ {viewList}
+ <Route exact key='root' path='/' render={() => {
+ // redirect to index!!
+ setTimeout(() => this.props.history.push('/index'), 10)
+ return null
+ }} />
</div>
</ConnectedRouter>
)