summaryrefslogtreecommitdiff
path: root/src/containers/app/sidebars/topology/machine/DeleteMachineContainer.js
blob: bfdde179c6322c5f062f63ddc49af0feb985add1 (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/app/sidebars/topology/machine/DeleteMachineComponent";

const mapDispatchToProps = dispatch => {
    return {
        onClick: () => dispatch(openDeleteMachineModal()),
    };
};

const DeleteMachineContainer = connect(
    undefined,
    mapDispatchToProps
)(DeleteMachineComponent);

export default DeleteMachineContainer;