aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-11 16:47:15 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-11 16:47:15 -0400
commite65fba03470cc38bc610baf4ff77fcc13cc08b74 (patch)
treefa2f9c00542802824d06b9ece5ee549df60a8d17 /src/client/views/search/SearchBox.tsx
parentd9de5d5dc660d3c859590ece04fee5613621b56e (diff)
lint errors fixed
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index e9146a6d1..deeb56762 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -47,14 +47,14 @@ export class SearchBox extends React.Component {
if(!this._wordStatus){
let oldWords = query.split(" ");
let newWords: string[] = [];
- console.log(oldWords)
+ console.log(oldWords);
oldWords.forEach(word => {
let newWrd = "+" + word;
newWords.push(newWrd);
- })
- console.log(newWords)
+ });
+ console.log(newWords);
- query = newWords.join(" ")
+ query = newWords.join(" ");
}
//gets json result into a list of documents that can be used