Fixed ErrorText component to properly render

This commit is contained in:
Harrison Healey 2016-10-11 11:21:54 -04:00
parent b86718f467
commit 567a2b4782

View file

@ -13,7 +13,7 @@ export default class ErrorText extends React.Component {
}
render() {
if (!this.props.error || Object.keys(this.props.error).length === 0) {
if (!this.props.error) {
return null;
}