Skip to content

Commit

Permalink
Merge pull request #843 from await-ovo/docs-json-svg-props
Browse files Browse the repository at this point in the history
docs: trim key and value when parse string setting to object
  • Loading branch information
gregberge committed Apr 1, 2023
2 parents 3b04a92 + 79bce5c commit f20a753
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]: right,
[left.trim()]: right.trim(),
}
}, {})

Expand Down

1 comment on commit f20a753

@vercel
Copy link

@vercel vercel bot commented on f20a753 Apr 1, 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
api.react-svgr.com
svgr-git-main-gregberge.vercel.app

Please sign in to comment.