🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Help with Preview Mode and Next.js, issue with previewing draft changes from already published doc

2 replies
Last updated: Sep 3, 2020
Hoping for some help with Preview Mode and Next.js — I have it working, and with draft documents showing up, etc— but when I go to preview draft changes from an already published doc nothing happens and I just get the last published version. Any ideas?
Sep 3, 2020, 2:33 AM
user Y
— i know I've bugged you about this before, but just wondering if you had any thoughts here.
In other words: If doc is unpublished and a draft, preview works — but if doc is published and we change X from Foo → Bar … can't see that. Wonder if you know why that would be? Is this something I need to change in my queries?
Sep 3, 2020, 1:10 PM
NEVERMIND — FIGURED IT OUT! HALLELUJAH
Sep 3, 2020, 1:54 PM

Sanity– build remarkable experiences at scale

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

Was this answer helpful?