fix: suppress hydration warning on json-ld script
This commit is contained in:
parent
aa97cd813e
commit
59b0b939c7
1 changed files with 1 additions and 0 deletions
|
|
@ -78,6 +78,7 @@ export default function RootLayout({
|
|||
<head>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
suppressHydrationWarning
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: JSON.stringify(jsonLd).replace(/</g, "\\u003c"),
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue