diff options
| author | Monika <monika_hedman@brown.edu> | 2019-06-19 13:57:34 -0400 |
|---|---|---|
| committer | Monika <monika_hedman@brown.edu> | 2019-06-19 13:57:34 -0400 |
| commit | 475df987dd647bb1e5202329f0d0ffc088bb66e6 (patch) | |
| tree | 3a85c45459036039d92b46a1c0ed26180fb7c8b9 /src/client/views/search/SearchBox.tsx | |
| parent | 1980d7009606bef0fb52104db0856b691c12bb9e (diff) | |
lint errors
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 4a0fe452a..86c239f30 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -159,7 +159,7 @@ export class SearchBox extends React.Component { query = this.basicRequireWords(query); } - query = query.replace(/\s+/g, ' ').trim() + query = query.replace(/\s+/g, ' ').trim(); //if there is no query there should be no result if (query === "") { |
