Skip to content
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

frontier.svg is using non-standard svg attribute, causing build errors #75

Closed
Yuripetusko opened this issue Apr 20, 2023 · 2 comments
Closed

Comments

@Yuripetusko
Copy link

Many build tools are transforming svg attributes to camelCase for jsx to use. frontier.svg is using an uncommon attribute xmlns:xodm which is causing an issue when this svg is being imported

error - ../../node_modules/@lifi/wallet-management/walletIcons/frontier.svg
SyntaxError: unknown: Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.

is it possible to remove this attribute?

@chybisov
Copy link
Member

@Yuripetusko thanks for reporting the issue 🙏 Should be fixed in v2.0.0-beta.3 🙂

@Yuripetusko
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants