diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-12 17:38:56 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-12 17:38:56 +0100 |
| commit | 59f692719bb6b4163594243e4c11262dc88466b4 (patch) | |
| tree | 2cc361b8ddba46996ca9eb732fbde315ea6e4e16 /client/nameSearch | |
| parent | 0fa4c5b7d1e16859f282bdda73bb6af4f4f78b6e (diff) | |
fixing imports
Diffstat (limited to 'client/nameSearch')
| -rw-r--r-- | client/nameSearch/nameSearch.query.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/nameSearch/nameSearch.query.js b/client/nameSearch/nameSearch.query.js index 629b7b1d..99c1da84 100644 --- a/client/nameSearch/nameSearch.query.js +++ b/client/nameSearch/nameSearch.query.js @@ -11,8 +11,8 @@ class NameSearchQuery extends Component { handleInput(value) { this.setState({ q: value }) - if (value.strip().length > 1) { - this.props.actions.search(this.props.payload, value.strip()) + if (value.trim().length > 1) { + this.props.actions.search(this.props.payload, value.trim()) } } |
