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({
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,
});
},