aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/reducers
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-11 20:52:17 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-11 20:52:17 +0100
commitb00e556ebff50558e6532683ff2763825c51646f (patch)
tree9b736f10b42493a524f064ac1ef78bb081f3fd81 /src/client/react/reducers
parent2216d1ceed02e54620f16fb826e5947b6c2cb9bf (diff)
Move hasFocus to internal state
Diffstat (limited to 'src/client/react/reducers')
-rw-r--r--src/client/react/reducers/search.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/client/react/reducers/search.js b/src/client/react/reducers/search.js
index 52f3b4e..d61689b 100644
--- a/src/client/react/reducers/search.js
+++ b/src/client/react/reducers/search.js
@@ -7,7 +7,6 @@ const DEFAULT_STATE = {
{ type: 's', value: '18561' },
],
exactMatch: null,
- hasFocus: false,
};
function getSearchResults(query) {
@@ -45,11 +44,6 @@ const search = (state = DEFAULT_STATE, action) => {
exactMatch,
};
}
- case 'SEARCH/FOCUS_CHANGE':
- return {
- ...state,
- hasFocus: action.hasFocus,
- };
default:
return state;
}