reset errors

This commit is contained in:
Matthew Hodgson 2016-05-09 12:48:37 +01:00
parent d081edfb0d
commit 4f79fb50ef

View file

@ -117,6 +117,7 @@ export default React.createClass({
this.setState({ this.setState({
entity: null, entity: null,
showLink: false, showLink: false,
error: null,
}); });
return; return;
} }
@ -131,6 +132,7 @@ export default React.createClass({
this.setState({ this.setState({
entity: entity, entity: entity,
showLink: true, showLink: true,
error: null,
}); });
}, },
@ -162,6 +164,7 @@ export default React.createClass({
this.setState({ this.setState({
showLink: true, showLink: true,
entity: entity, entity: entity,
error: null,
}); });
}, },