From e2fb33bdc513385e9d71bc5b3d5068f7db9713d7 Mon Sep 17 00:00:00 2001
From: Shin'ya Ueoka <ueokande@i-beam.org>
Date: Thu, 28 Jun 2018 20:44:57 +0900
Subject: fix but failed

---
 src/content/reducers/find.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/content/reducers/find.js')

diff --git a/src/content/reducers/find.js b/src/content/reducers/find.js
index 8d63ee5..4560e2c 100644
--- a/src/content/reducers/find.js
+++ b/src/content/reducers/find.js
@@ -8,10 +8,9 @@ const defaultState = {
 export default function reducer(state = defaultState, action = {}) {
   switch (action.type) {
   case actions.FIND_SET_KEYWORD:
-    return Object.assign({}, state, {
+    return { ...state,
       keyword: action.keyword,
-      found: action.found,
-    });
+      found: action.found, };
   default:
     return state;
   }
-- 
cgit v1.2.3