-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue: issues with custom JSX UI types #2846
Comments
Hi @martines3000 did you follow these steps when migrating your Snap code? https://docs.metamask.io/snaps/features/custom-ui/#upgrade-a-snap-to-use-jsx |
@Montoya Yes, we followed the mentioned guide.
|
@martines3000 You likely need to add these dependencies too: #2700 (comment) |
This solved our issue. Thank you 🙏 . Sorry that I missed the discussion, I only looked in the "issues" tab 😓. I will close this issue as it is resolved. |
We'll make sure to document this better, you are definitely not the first person to reach out about this! |
Hi. We recently tried upgrading from the old UI to the new JSX UI, but we are having some issues.
I get the following error when trying to use the new components:
Link to source code: https://github.com/blockchain-lab-um/masca/blob/fc77fc3e85f2ec127900f9812bfe5911208df48a/packages/snap/src/UI.service.tsx#L50
Branch:
chore/upgrade-snap-jsx
Any ideas what could be wrong here ?
This issues is happening with almost all component types.
Thank you for the help.
The text was updated successfully, but these errors were encountered: