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
522 B
17 lines
522 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import { compose } from 'redux';
|
||
|
import withModalProps from '../../../../helpers/higher-order-components/with-modal-props';
|
||
|
import { delRpcTarget } from '../../../../store/actions';
|
||
|
import ConfirmDeleteNetwork from './confirm-delete-network.component';
|
||
5 years ago
|
|
||
5 years ago
|
const mapDispatchToProps = (dispatch) => {
|
||
5 years ago
|
return {
|
||
|
delRpcTarget: (target) => dispatch(delRpcTarget(target)),
|
||
4 years ago
|
};
|
||
|
};
|
||
5 years ago
|
|
||
|
export default compose(
|
||
|
withModalProps,
|
||
4 years ago
|
connect(null, mapDispatchToProps),
|
||
4 years ago
|
)(ConfirmDeleteNetwork);
|