We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed859e9 commit 07af8edCopy full SHA for 07af8ed
src/react/external-scripts.tsx
@@ -107,13 +107,13 @@ export interface ExternalScriptsHandle<Data = unknown> {
107
* // Then render ExternalScripts in your root
108
* return <ExternalScripts />
109
*/
110
-export function ExternalScripts() {
+export function ExternalScripts({ nonce }: { nonce?: string }) {
111
let scripts = useExternalScripts();
112
113
return (
114
<>
115
{scripts.map((props) => {
116
- return <ExternalScript key={props.src} {...props} />;
+ return <ExternalScript key={props.src} {...props} nonce={nonce} />;
117
})}
118
</>
119
);
0 commit comments