Closed robinhoodie0823 closed 1 month ago
Latest commit: 92d24387c8e8369b014383e421d849e8f55b710e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Why does this PR exist?
Current plugin crushes when user renames token set after create a token with group name.
Closes #2861
What does this pull request do?
Added a error handlers to check if the tokens array is
undefined
or not.Testing this change
Additional Notes (if any)
https://github.com/tokens-studio/figma-plugin/assets/103296157/38739271-80ee-4db9-8db6-ce43e4382ba4