summaryrefslogtreecommitdiff
path: root/frontend/views/index/index.container.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/index/index.container.js')
-rw-r--r--frontend/views/index/index.container.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/frontend/views/index/index.container.js b/frontend/views/index/index.container.js
index 1e2326b..2da89cb 100644
--- a/frontend/views/index/index.container.js
+++ b/frontend/views/index/index.container.js
@@ -6,6 +6,7 @@ import { connect } from 'react-redux'
import './index.css'
import actions from '../../actions'
+import { Header } from '../../common'
// import * as uploadActions from './upload.actions'
import GraphIndex from './containers/graph.index'
@@ -18,10 +19,13 @@ class Container extends Component {
}
render() {
return (
- <div className='index'>
- <Route exact path='/index/new' component={GraphNew} />
- <Route exact path='/index/:id/edit' component={GraphEdit} />
- <Route exact path='/index' component={GraphIndex} />
+ <div className='body'>
+ <Header />
+ <div className='index'>
+ <Route exact path='/index/new' component={GraphNew} />
+ <Route exact path='/index/:id/edit' component={GraphEdit} />
+ <Route exact path='/index' component={GraphIndex} />
+ </div>
</div>
)
}