From 4f79fb50ef6e7d1492e4cc0271ad33b854dbe781 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 9 May 2016 12:48:37 +0100 Subject: [PATCH] reset errors --- src/components/HomePage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/HomePage.js b/src/components/HomePage.js index 632fb54..e929c98 100644 --- a/src/components/HomePage.js +++ b/src/components/HomePage.js @@ -117,6 +117,7 @@ export default React.createClass({ this.setState({ entity: null, showLink: false, + error: null, }); return; } @@ -131,6 +132,7 @@ export default React.createClass({ this.setState({ entity: entity, showLink: true, + error: null, }); }, @@ -162,6 +164,7 @@ export default React.createClass({ this.setState({ showLink: true, entity: entity, + error: null, }); },