aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/reducers')
-rw-r--r--src/content/reducers/find.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/reducers/find.js b/src/content/reducers/find.js
index 6042f50..f0bfbeb 100644
--- a/src/content/reducers/find.js
+++ b/src/content/reducers/find.js
@@ -3,6 +3,7 @@ import actions from 'content/actions';
const defaultState = {
enabled: false,
keyword: '',
+ found: false,
};
export default function reducer(state = defaultState, action = {}) {
@@ -18,6 +19,7 @@ export default function reducer(state = defaultState, action = {}) {
case actions.FIND_SET_KEYWORD:
return Object.assign({}, state, {
keyword: action.keyword,
+ found: action.found,
});
default:
return state;