-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V2_MetaFunction using script:ld+json twice results in same key warning #6953
Comments
Yes, it looks like the <script
key={`script:ld+json:${json}`}
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: json }}
/> |
This is resolved by #6954 and should be available once v2 is released. |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
1.18.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Expected Behavior
Should add two
<script type="application/ld+json">
tags without warningActual Behavior
Adds two
<script type="application/ld+json">
tags with warning:Culprit:
https://github.com/remix-run/remix/blob/97d82db0556ba8b40518898a75d6838e0bf3ced1/packages/remix-react/components.tsx#L834C36-L834C36
The text was updated successfully, but these errors were encountered: