diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 14:46:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-10 14:46:15 +0100 |
| commit | c84a675c07fd1997588794a26bf41c04f23c121e (patch) | |
| tree | d38758ab67c1d851069d6b9fd4b7da9934e3fb87 /animism-align/frontend/app/views/site | |
| parent | e86e0a2f710d28c26a7457ab3fd35c88d2f937b1 (diff) | |
getting rid of basically all instances of bindActionCreators and mapDispatchToActions. hopefully never have to use these functions again
Diffstat (limited to 'animism-align/frontend/app/views/site')
| -rw-r--r-- | animism-align/frontend/app/views/site/component.template.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/animism-align/frontend/app/views/site/component.template.js b/animism-align/frontend/app/views/site/component.template.js index 5b22206..85273f3 100644 --- a/animism-align/frontend/app/views/site/component.template.js +++ b/animism-align/frontend/app/views/site/component.template.js @@ -1,10 +1,7 @@ import React, { Component } from 'react' -// import { Link } from 'react-router-dom' -// import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import actions from 'app/actions' -// import * as uploadActions from './upload.actions' class ComponentTemplate extends Component { componentDidMount() { @@ -21,8 +18,4 @@ class ComponentTemplate extends Component { const mapStateToProps = state => ({ }) -const mapDispatchToProps = dispatch => ({ - // uploadActions: bindActionCreators({ ...uploadActions }, dispatch), -}) - -export default connect(mapStateToProps, mapDispatchToProps)(ComponentTemplate) +export default connect(mapStateToProps)(ComponentTemplate) |
