[WIP] TypeError: Cannot read properties of undefined (reading 'id')
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.
Original issue description:
Sentry Issue: FIGMA-TOKENS-2AP
TypeError: Cannot read properties of undefined (reading 'id') at callback (@tokens-studio/figma-plugin/./src/AsyncMessageChannel.ts:125:17) at <anonymous> (@tokens-studio/figma-plugin/./src/AsyncMessageChannel.ts:57:31) at <anonymous> (@tokens-studio/figma-plugin/./src/AsyncMessageChannelPreview.ts:1:4) at Object.next (@tokens-studio/figma-plugin/./src/AsyncMessageChannelPreview.ts:1:4) at Ur (@tokens-studio/figma-plugin/./src/AsyncMessageChannelPreview.ts:1:4) ... (6 additional frame(s) were not displayed)
Fixes #3372.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
⚠️ No Changeset found
Latest commit: 760f1e6b9eb2ba0361f1af46de103d6b84897b1c
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.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
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