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
ISSUE vercel/next.js#17464
SOLUTION https://github.com/Jam3/prj-2140-sonos-june-frontend/blob/develop/src/utils/hooks/use-transition-fix.js
The text was updated successfully, but these errors were encountered:
Added this on the project initialization in order to fix this issue:
// Fix https://github.com/vercel/next.js/issues/17464 document .querySelectorAll('head > link[rel="stylesheet"][data-n-p]') .forEach((node) => node.removeAttribute('data-n-p')); new MutationObserver((mutations) => { mutations.forEach(({ target }) => { const t = target as Element; if (t.nodeName === 'STYLE' && t.getAttribute('media') === 'x') t.removeAttribute('media'); }); }).observe(document.head, { subtree: true, attributeFilter: ['media'] });
Sorry, something went wrong.
Let's add this to a list of gotchas. Should not be a part of the Boilerplate.
jmckinnell
DonghyukJacobJang
No branches or pull requests
ISSUE
vercel/next.js#17464
SOLUTION
https://github.com/Jam3/prj-2140-sonos-june-frontend/blob/develop/src/utils/hooks/use-transition-fix.js
The text was updated successfully, but these errors were encountered: