From 567a2b4782c6ab65323de9eb89f82a797ee34e72 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 11 Oct 2016 11:21:54 -0400 Subject: [PATCH] Fixed ErrorText component to properly render --- src/components/error_text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/error_text.js b/src/components/error_text.js index 53fa3d31f..89bd9a58e 100644 --- a/src/components/error_text.js +++ b/src/components/error_text.js @@ -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; }