summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars/topology/machine/DeleteMachineContainer.js
blob: f42c8ba7d40c89d8f07e80a2bd37c10c0697aa20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;