From 431229789676217c653f62e7e1e20295b68a8912 Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Mon, 27 Mar 2017 18:03:06 -0600 Subject: [PATCH] No need to coerce a string into another string. --- ui/src/hosts/containers/HostsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/hosts/containers/HostsPage.js b/ui/src/hosts/containers/HostsPage.js index a74756283..570d15355 100644 --- a/ui/src/hosts/containers/HostsPage.js +++ b/ui/src/hosts/containers/HostsPage.js @@ -50,7 +50,7 @@ export const HostsPage = React.createClass({ const reason = 'Unable to get apps for hosts' addFlashMessage({type: 'error', text: reason}) this.setState({ - hostsError: reason.toString(), + hostsError: reason, hostsLoading: false, }) });