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/settings/components/form/search-form.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/settings/components/form/search-form.jsx')

diff --git a/src/settings/components/form/search-form.jsx b/src/settings/components/form/search-form.jsx
index e85761f..2d5f01b 100644
--- a/src/settings/components/form/search-form.jsx
+++ b/src/settings/components/form/search-form.jsx
@@ -53,10 +53,10 @@ class SearchForm extends Component {
     let value = this.props.value;
     let name = e.target.name;
     let index = e.target.getAttribute('data-index');
-    let next = Object.assign({}, {
+    let next = {
       default: value.default,
       engines: value.engines ? value.engines.slice() : [],
-    });
+    };
 
     if (name === 'name') {
       next.engines[index][0] = e.target.value;
-- 
cgit v1.2.3

