Skip to content

Commit

Permalink
fix: allow commas when typing keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
germanattanasio committed Aug 16, 2018
1 parent 32d02c8 commit 20226dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion views/demo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ export default React.createClass({
return this.state.keywords
.split(',')
.map(k => k.trim())
.filter(k => k)
.filter((value, index, self) => self.indexOf(value) === index);
},

Expand Down

0 comments on commit 20226dd

Please sign in to comment.