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,12 +104,8 @@ const TagInput = React.createClass({
return; return;
} }
this.setState( this.input.value = '';
() => { onAddTag(newItem);
this.input.value = '';
onAddTag(newItem);
}
);
} }
}, },