Next.js Preview Issue after adding GROQ Query using the `pt::text` Function

1 replies
Last updated: May 27, 2021
Hi! I'm using Sanity + NextJS with live preview, and it's working great. However, since adding a GROQ-query using the
pt::text
-function, live preview stopped working. Even though the Sanity client is instantiated using
apiVersion: '2021-03-25'
, it seems the live preview listener still reaches
v1
of the API. This seems to be hardcoded in @sanity/groq-store. Has anyone encountered this before and know how to get around this?
May 26, 2021, 12:52 PM
Ah, there's already an issue on this here: https://github.com/sanity-io/next-sanity/issues/18 – will wait for a reply there, then! πŸ™‚
May 27, 2021, 1:18 PM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.