Skip to content

Commit f20a753

Browse files
authored
Merge pull request #843 from await-ovo/docs-json-svg-props
docs: trim key and value when parse string setting to object
2 parents 3b04a92 + 79bce5c commit f20a753

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/src/components/playground/config/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const parseObject = (value) =>
33
const [left, right] = assignment.split('=')
44
return {
55
...obj,
6-
[left]: right,
6+
[left.trim()]: right.trim(),
77
}
88
}, {})
99

0 commit comments

Comments
 (0)