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
* Middleware only logic to add CSP header as Next.js App Router doesnt allow setting header in server component
* add tests
* Remove nonce from Page Router and fix ts issues
* Add checkly test
Copy file name to clipboardExpand all lines: apps/web/components/PageWrapper.tsx
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -44,17 +44,8 @@ function PageWrapper(props: AppProps) {
44
44
pageStatus="403";
45
45
}
46
46
47
-
// On client side don't let nonce creep into DOM
48
-
// It also avoids hydration warning that says that Client has the nonce value but server has "" because browser removes nonce attributes before DOM is built
49
-
// See https://github.com/kentcdodds/nonce-hydration-issues
50
-
// Set "" only if server had it set otherwise keep it undefined because server has to match with client to avoid hydration error
0 commit comments