Error on running npm run dev
Closed this issue · 1 comments
jasan-s commented
Error: It looks like you're using options meant for '@sanity/preview-kit/client', such as 'encodeSourceMapAtPath', 'encodeSourceMap', 'studioUrl' and 'logger'. Make sure you're using the right import.
jasan-s commented
just in case anyone else is struggling with this i updated next-sanity
to latest v5.1.1
and it is now working