Fix error thrown by next/image
in the Sanity example
#34203
Merged
next/image
in the Sanity example
#34203