Skip to content

Commit

Permalink
v small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tristen committed Aug 21, 2015
1 parent 144434e commit 26d636b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/shared/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export default class Input extends Component {
}

onChange(text) {
console.log('onChange event fired', text);
if (text) this.props.onChange(text);
}

clearQuery() {
this.props.onClear();
// TODO Clear the state of the input before calling props.
// this.props.onClear();
}

getSuggestions(input, cb) {
Expand Down

0 comments on commit 26d636b

Please sign in to comment.