Skip to content

Commit

Permalink
Merge pull request #848 from await-ovo/fix-parse-object
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Apr 5, 2023
2 parents f20a753 + 05f2946 commit 60bb15f
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

1 comment on commit 60bb15f

@vercel
Copy link

@vercel vercel bot commented on 60bb15f Apr 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

svgr – ./

svgr-gregberge.vercel.app
svgr-git-main-gregberge.vercel.app
api.react-svgr.com

Please sign in to comment.