Stuck at this Next JS error
I am building a Next JS application for the first and am facing this error while adding an image, need help to fix it.
Uncaught Error: Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
Line probably causing the error:
<Image src='https://links.papareact.com/a943ae' alt='Disney Logo' height={100} width={100} className='cursor-pointer invert'/>
2
9 comments
Shaili Gandhi
2
Stuck at this Next JS error
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by