blob: 0c18598bc55571853100d94b3d8a99a27c49c689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import {connect} from "react-redux";
import {openDeleteMachineModal} from "../../../../actions/modals/topology";
import DeleteMachineComponent from "../../../../components/sidebars/topology/machine/DeleteMachineComponent";
const mapDispatchToProps = dispatch => {
return {
onClick: () => dispatch(openDeleteMachineModal()),
};
};
const DeleteMachineContainer = connect(
undefined,
mapDispatchToProps
)(DeleteMachineComponent);
export default DeleteMachineContainer;
|