-
Notifications
You must be signed in to change notification settings - Fork 36
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
<SanityContent> Duplicate keys detected #116
Comments
I'm getting this too. Is it a bug in the way it's rendered, or is there a way round it? I'm using it in the same way as above |
maybe should have marked this as a bug, I really don't see any way of using |
@danielroe @ovsw @TimHill83 These errors are shown only with yarn dev. Not detected with yarn generate && yarn start with target static. "nuxt": "2.15.4" and "@nuxtjs/sanity": "0.9.2" |
Thanks! Should be fixed in v0.9.4 ❤️ |
Many thanks. Keep up the good work!
Sent from my phone. Apologies in advance for brevity and any typos.
…________________________________
From: Daniel Roe ***@***.***>
Sent: Saturday, May 15, 2021 3:39:55 PM
To: nuxt-community/sanity-module ***@***.***>
Cc: Tim Hill ***@***.***>; Mention ***@***.***>
Subject: Re: [nuxt-community/sanity-module] <SanityContent> Duplicate keys detected (#116)
Thanks! Should be fixed in v0.9.4 ❤️
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#116 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKYJW6YOXA35MCEVVCF7OG3TN2BTXANCNFSM42Y2JU2Q>.
|
For any block content from sanity, if the block content contains
<strong>
marks (bold text) Nuxt will throw a warning in development (browser console):In my component, all I do is:
where
blocktext
is the block content from Sanity.The text renders ok in the front-end though.
Why is this happening? Am I doing something wrong?
Version
module: 0.9.0 (and previously 0.7.1)
nuxt: 2.15.5
The text was updated successfully, but these errors were encountered: