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

Fix validateDOMNesting error #114

Open
norswap opened this issue Feb 1, 2024 · 0 comments
Open

Fix validateDOMNesting error #114

norswap opened this issue Feb 1, 2024 · 0 comments
Assignees
Labels

Comments

@norswap
Copy link
Member

norswap commented Feb 1, 2024

Copy of #104 (comment) for details:

This error is displayed: Warning: validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s both on Firefox and Chrome. I thought it might be caused by the remaining log statement, but that doesn't seem to be the case now that it's gone.

Sadly, this is mangled by my console.error replacements (that don't replace %s but it's basically a dom nesting error.

I disabled the filtering (by commenting the line in setup.ts) and it gives:

cannot appear as a descendant of

as well as

cannot appear as a descendant of

.

It seems to be coming from here:
https://www.npmjs.com/package/@next/react-dev-overlay

@norswap norswap added the bug label Feb 1, 2024
@norswap norswap self-assigned this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant