From 9f7f2df3deb2b1117b5119e3824d53e439d29b62 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 4 May 2021 01:44:59 -0500 Subject: [PATCH] Fix add new portal --- src/containers/HostList/HostList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);