You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When wrapping layout with the ThemeProvider and a noonce provided, and a strict CSP style-src, then I receive the following error in console:
layout-5770ccc27b841829.js:1 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-YjZlNzFjOTItYjNlYy00MTBhLWJjODAtZDE3N2VlOWY2Y2Yz'". Either the 'unsafe-inline' keyword, a hash ('sha256-GNF74DLkXb0fH3ILHgILFjk1ozCF3SNXQ5mQb7WLu/Y='), or a nonce ('nonce-...') is required to enable inline execution.
document.head.appendChild(e), is the referenced error line.
Tested it on a production build of a nextjs (v14.2.4 w/ app dir) app, error logs twice in console (duplicates). Page only renders the provider, nothing else.
Browser: Brave
Version
0.3.0
What browsers are you seeing the problem on?
Chrome (brave)
The text was updated successfully, but these errors were encountered:
What happened?
When wrapping layout with the
ThemeProvider
and a noonce provided, and a strict CSP style-src, then I receive the following error in console:The error references the following code:
document.head.appendChild(e),
is the referenced error line.Tested it on a production build of a nextjs (v14.2.4 w/ app dir) app, error logs twice in console (duplicates). Page only renders the provider, nothing else.
Browser: Brave
Version
0.3.0
What browsers are you seeing the problem on?
Chrome (brave)
The text was updated successfully, but these errors were encountered: