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.
18 lines
462 B
18 lines
462 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import { compose } from 'redux';
|
||
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props';
|
||
|
import RejectTransactionsModal from './reject-transactions.component';
|
||
6 years ago
|
|
||
6 years ago
|
const mapStateToProps = (_, ownProps) => {
|
||
4 years ago
|
const { unapprovedTxCount } = ownProps;
|
||
6 years ago
|
|
||
|
return {
|
||
|
unapprovedTxCount,
|
||
4 years ago
|
};
|
||
|
};
|
||
6 years ago
|
|
||
|
export default compose(
|
||
|
withModalProps,
|
||
|
connect(mapStateToProps),
|
||
4 years ago
|
)(RejectTransactionsModal);
|