Getting undefined when fetching data from sanity studio in latest nextjs
abdulhadi240 opened this issue · comments
abdulhadi240 commented
Cody Olsen commented
Hi, thanks for the detailed report!
It seems to work on my end though: https://codesandbox.io/p/sandbox/nextjs-gssp-repro-lp65k8
I see you have useCdn: true
, this means it may take a while for you to see new content (10 - 15 minutes). You can set it to useCdn: false
during development to avoid confusion, that's what the "Vision Tool" is doing :)
I highly recommend you join our Slack to get more help as you're digging into Sanity.