You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
451 B
17 lines
451 B
import { connect } from 'react-redux'
|
|
import { compose } from 'recompose'
|
|
import RejectTransactionsModal from './reject-transactions.component'
|
|
import withModalProps from '../../../higher-order-components/with-modal-props'
|
|
|
|
const mapStateToProps = (state, ownProps) => {
|
|
const { unapprovedTxCount } = ownProps
|
|
|
|
return {
|
|
unapprovedTxCount,
|
|
}
|
|
}
|
|
|
|
export default compose(
|
|
withModalProps,
|
|
connect(mapStateToProps),
|
|
)(RejectTransactionsModal)
|
|
|