Fixed ErrorText component to properly render
This commit is contained in:
parent
b86718f467
commit
567a2b4782
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue