Set nonces for inline scripts

This commit is contained in:
2023-10-19 16:50:23 -04:00
parent 34d34f6300
commit 2fc6a521c3
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ function getMarkup(
<div className="App">
<Navigation {...loaderData} />
{children}
<Scripts />
<Scripts nonce={loaderData.nonce} />
</div>
</ChakraProvider>
</StrictMode>