No need to coerce a string into another string.

pull/1087/head
Hunter Trujillo 2017-03-27 18:03:06 -06:00
parent 84fba8a5a0
commit 4312297896
1 changed files with 1 additions and 1 deletions

View File

@ -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,
})
});