Resolve duplicate enter key shortcut warning
Why does this PR exist?
Fixes https://github.com/tokens-studio/figma-plugin/issues/1959
What does this pull request do?
Fixes the duplicate shortcut warning by registering it conditionally
Testing this change
Use Push dialog and EditTokenForm and submit with pressing Cmd + Enter, both should still work.
⚠️ No Changeset found
Latest commit: be18d227ac6071dc090a0ba883e999b5f8066b31
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
⤵️ 📦 ✨ The artifact was successfully created! Want to test it? Download it here 👀 🎁
Commit SHA:f9feed40cc0bc6defe1b590912447de2dbe68565 No changes to code coverage between the base branch and the head branch
