aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/reducers')
-rw-r--r--src/content/reducers/find.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/content/reducers/find.js b/src/content/reducers/find.js
index f0bfbeb..eb43c37 100644
--- a/src/content/reducers/find.js
+++ b/src/content/reducers/find.js
@@ -1,21 +1,12 @@
import actions from 'content/actions';
const defaultState = {
- enabled: false,
keyword: '',
found: false,
};
export default function reducer(state = defaultState, action = {}) {
switch (action.type) {
- case actions.FIND_SHOW:
- return Object.assign({}, state, {
- enabled: true,
- });
- case actions.FIND_HIDE:
- return Object.assign({}, state, {
- enabled: false,
- });
case actions.FIND_SET_KEYWORD:
return Object.assign({}, state, {
keyword: action.keyword,