diff options
Diffstat (limited to 'frontend/views/index/containers/graph.index.js')
| -rw-r--r-- | frontend/views/index/containers/graph.index.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/frontend/views/index/containers/graph.index.js b/frontend/views/index/containers/graph.index.js new file mode 100644 index 0000000..b18c768 --- /dev/null +++ b/frontend/views/index/containers/graph.index.js @@ -0,0 +1,28 @@ +import React, { Component } from 'react' +import { Link } from 'react-router-dom' +import { bindActionCreators } from 'redux' +import { connect } from 'react-redux' + +// import actions from '../../actions' +// import * as uploadActions from './upload.actions' + +class GraphIndex extends Component { + render() { + return ( + <div className='graphIndex'> + <b>welcome, swimmer</b> + <Link to='/index/new'>+ new project</Link> + </div> + ) + } +} + +const mapStateToProps = state => ({ + // upload: state.upload, +}) + +const mapDispatchToProps = dispatch => ({ + // uploadActions: bindActionCreators({ ...uploadActions }, dispatch), +}) + +export default connect(mapStateToProps, mapDispatchToProps)(GraphIndex) |
