aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/form/properties-form.jsx
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-06-28 21:41:34 +0900
committerGitHub <noreply@github.com>2018-06-28 21:41:34 +0900
commitd0c23587f8ee8c1bca38f036ae8f71078d6ca937 (patch)
tree2c5cb4aea22de3de6360220a6291440c7ac18230 /src/settings/components/form/properties-form.jsx
parent6d0732eb80f2a2b2546e659662537bf4e40d7e5c (diff)
parent05faaced137eb3a48780806fded04fd76bd9a84e (diff)
Merge pull request #423 from ueokande/greenkeeper/eslint-5.0.1
Update eslint
Diffstat (limited to 'src/settings/components/form/properties-form.jsx')
-rw-r--r--src/settings/components/form/properties-form.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/components/form/properties-form.jsx b/src/settings/components/form/properties-form.jsx
index 55c8512..ceb79d7 100644
--- a/src/settings/components/form/properties-form.jsx
+++ b/src/settings/components/form/properties-form.jsx
@@ -44,7 +44,7 @@ class PropertiesForm extends Component {
}
let name = e.target.name;
- let next = Object.assign({}, this.props.value);
+ let next = { ...this.props.value };
if (e.target.type.toLowerCase() === 'checkbox') {
next[name] = e.target.checked;
} else if (e.target.type.toLowerCase() === 'number') {