Skip to content

Commit

Permalink
Remove unused code from edit-approval-permission.container
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Nov 5, 2019
1 parent 1d35558 commit 5de79be
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { connect } from 'react-redux'
import { compose } from 'recompose'
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props'
import EditApprovalPermission from './edit-approval-permission.component'
import { resetAccount } from '../../../../store/actions'
import { getSelectedIdentity } from '../../../../selectors/selectors'

const mapStateToProps = (state) => {
Expand All @@ -13,14 +12,7 @@ const mapStateToProps = (state) => {
}
}


const mapDispatchToProps = dispatch => {
return {
resetAccount: () => dispatch(resetAccount()),
}
}

export default compose(
withModalProps,
connect(mapStateToProps, mapDispatchToProps)
connect(mapStateToProps)
)(EditApprovalPermission)

0 comments on commit 5de79be

Please sign in to comment.