summaryrefslogtreecommitdiff
path: root/frontend/views/index/containers/graph.index.js
blob: b18c768f491549fd7f794a1676717268075f9049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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)