We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With react vite application, I got
DOMException: CustomElementRegistry.define: 'identicon-svg' has already been defined as a custom element
and
[hmr] Failed to reload /src/App.tsx. This could be due to syntax errors or importing non-existent modules. (see errors above)
This is because a custom element can only be defined once. A solution would be to do something like:
if (!customElements.get('identicon-svg')) { customElements.define('identicon-svg', HTMLTheElement); }
here
minidenticons/minidenticons.js
Line 41 in 7379901
The text was updated successfully, but these errors were encountered:
Hi @Thykof, thank you for this bug report and for the fix idea.
I just released v4.2.1 to fix this issue. Can you tell me if it works for you now?
Sorry, something went wrong.
Thanks a lot, it works!
No branches or pull requests
With react vite application, I got
and
This is because a custom element can only be defined once. A solution would be to do something like:
here
minidenticons/minidenticons.js
Line 41 in 7379901
The text was updated successfully, but these errors were encountered: