diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-06-28 20:44:57 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-06-28 20:44:57 +0900 |
commit | e2fb33bdc513385e9d71bc5b3d5068f7db9713d7 (patch) | |
tree | 28d544a6fd2237f5d0ed7809d45d783c18b9261f /src/settings/components/form/keymaps-form.jsx | |
parent | 03cf265eff0f4866959369531c2a1f5a5a0684b7 (diff) |
fix but failed
Diffstat (limited to 'src/settings/components/form/keymaps-form.jsx')
-rw-r--r-- | src/settings/components/form/keymaps-form.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/components/form/keymaps-form.jsx b/src/settings/components/form/keymaps-form.jsx index f0f69cf..dcf65d9 100644 --- a/src/settings/components/form/keymaps-form.jsx +++ b/src/settings/components/form/keymaps-form.jsx @@ -100,7 +100,7 @@ class KeymapsForm extends Component { return; } - let next = Object.assign({}, this.props.value); + let next = { ...this.props.value }; next[e.target.name] = e.target.value; this.props.onChange(next); |