Clean up OperationContainer props.

This commit is contained in:
Owen Conti
2017-08-20 17:02:51 -06:00
parent 8426dcdf7b
commit 050f4d1918
4 changed files with 24 additions and 27 deletions

View File

@@ -20,7 +20,7 @@ const RootWrapper = (reduxStore, ComponentToWrap) => class extends Component {
}
const makeContainer = (getSystem, component, reduxStore) => {
const mapStateToProps = component.prototype.constructor.mapStateToProps || function(state) {
const mapStateToProps = component.prototype.mapStateToProps || function(state) {
return {state}
}
let wrappedWithSystem = SystemWrapper(getSystem, component, reduxStore)