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 29c3f17 commit b8f5783Copy full SHA for b8f5783
src/next-pagesdir.tsx
@@ -21,6 +21,7 @@ import { start } from "./start";
21
import type { RegisterLink, RegisteredLinkProps } from "./link";
22
import { setLink } from "./link";
23
import { setUseLang } from "./i18n";
24
+import Script from "next/script";
25
import "./dsfr/dsfr.css";
26
import "./dsfr/utility/icons/icons.css";
27
@@ -175,7 +176,7 @@ export function createNextDsfrIntegrationApi(
175
176
/>
177
</>
178
)}
- <script
179
+ <Script
180
dangerouslySetInnerHTML={{
181
"__html": getScriptToRunAsap(defaultColorScheme)
182
}}
0 commit comments