No need to coerce a string into another string.
parent
84fba8a5a0
commit
4312297896
|
@ -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,
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue