Skip to content

Commit

Permalink
fix: parseObject error causes website broken
Browse files Browse the repository at this point in the history
  • Loading branch information
await-ovo committed Apr 3, 2023
1 parent f20a753 commit 05f2946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/playground/config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const parseObject = (value) =>
const [left, right] = assignment.split('=')
return {
...obj,
[left.trim()]: right.trim(),
[left.trim()]: right?.trim(),
}
}, {})

Expand Down

0 comments on commit 05f2946

Please sign in to comment.