diff --git a/src/containers/HostList/HostList.js b/src/containers/HostList/HostList.js index e2ed5c9..d4c825c 100644 --- a/src/containers/HostList/HostList.js +++ b/src/containers/HostList/HostList.js @@ -24,7 +24,7 @@ class HostList extends Component { componentWillUnmount() {} handleAddHost = () => { - this.props.AddHost(this.state.items, (changed, host_data) => { + this.props.AddHost(this.state.items, (changed, { host_data }) => { if (changed) { const items = [...this.state.items, host_data]; this.updateItems(items);