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; return;
} }
this.setState(
() => {
this.input.value = ''; this.input.value = '';
onAddTag(newItem); onAddTag(newItem);
} }
);
}
}, },
shouldAddToList(item, tags) { shouldAddToList(item, tags) {