From c84a675c07fd1997588794a26bf41c04f23c121e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 10 Mar 2021 14:46:15 +0100 Subject: getting rid of basically all instances of bindActionCreators and mapDispatchToActions. hopefully never have to use these functions again --- .../views/editor/paragraph/containers/paragraphEditor.container.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'animism-align/frontend/app/views/editor/paragraph/containers/paragraphEditor.container.js') diff --git a/animism-align/frontend/app/views/editor/paragraph/containers/paragraphEditor.container.js b/animism-align/frontend/app/views/editor/paragraph/containers/paragraphEditor.container.js index 09ba70c..82d7059 100644 --- a/animism-align/frontend/app/views/editor/paragraph/containers/paragraphEditor.container.js +++ b/animism-align/frontend/app/views/editor/paragraph/containers/paragraphEditor.container.js @@ -1,6 +1,4 @@ import React, { Component } from 'react' -import { Route } from 'react-router-dom' -import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import actions from 'app/actions' @@ -87,7 +85,4 @@ const mapStateToProps = state => ({ paragraphs: state.paragraph.paragraphs, }) -const mapDispatchToProps = dispatch => ({ -}) - -export default connect(mapStateToProps, mapDispatchToProps)(ParagraphEditor) +export default connect(mapStateToProps)(ParagraphEditor) -- cgit v1.2.3-70-g09d2