Skip to content

Commit 05f2946

Browse files
committed
fix: parseObject error causes website broken
1 parent f20a753 commit 05f2946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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.trim()]: right.trim(),
6+
[left.trim()]: right?.trim(),
77
}
88
}, {})
99

0 commit comments

Comments
 (0)