aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/react/reducers/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/react/reducers/search.js b/src/client/react/reducers/search.js
index dd737ed..5d8fee5 100644
--- a/src/client/react/reducers/search.js
+++ b/src/client/react/reducers/search.js
@@ -29,7 +29,7 @@ const search = (state = DEFAULT_STATE, action) => {
switch (action.type) {
case 'SEARCH/INPUT_CHANGE': {
let results = getSearchResults(action.typedValue);
- let exactMatch = false;
+ let exactMatch = null;
if ((results.length > 0) && (action.typedValue === results[0].value)) {
[exactMatch] = results;