Remove call to setState

pull/802/head
Andrew Watkins 2017-01-26 17:09:31 -08:00
parent aff31e2eee
commit fc57502480
1 changed files with 2 additions and 6 deletions

View File

@ -104,13 +104,9 @@ const TagInput = React.createClass({
return;
}
this.setState(
() => {
this.input.value = '';
onAddTag(newItem);
}
);
}
},
shouldAddToList(item, tags) {