summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/sidebars/topology/machine/DeleteMachineContainer.js
blob: 2dfb0d46b74e72ba140a0af9f061a963a93641dd (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