Figmagic is the missing piece between DevOps and design: Generate design tokens, export graphics, and extract design token-driven React components from your Figma documents.
[ ] I have read the Figmagic Contribution Guideline
[ ] The PR title summarizes the change
1. Context:
If we have a Graphics page that is not empty, but the graphics are not in the root level, we get the following error:
Error: Error: Error: Missing one or more of required arguments: "figmaToken", "figmaUrl" when attempting to get data from Figma API!
Because it bypass the first condition check on getId() that checks against an empty array, but the message implies an keys or API error, which makes difficult for the user to debug.
1. Context:
If we have a Graphics page that is not empty, but the graphics are not in the root level, we get the following error:
Because it bypass the first condition check on
getId()
that checks against an empty array, but the message implies an keys or API error, which makes difficult for the user to debug.2. Description of the changes made:
3. Screenshots