Using img or Image tag causes hydration error (NextJS)
Unanswered
Rhinelander posted this in #help-forum
RhinelanderOP
export default function ProjectsSlider() {
return (
<div>
<img width={30} height={30} src="/left-arrow.svg" alt="Left Arrow" />
<img width={30} height={30} src="/right-arrow.svg" alt="Right Arrow" />
</div>
);
}
2 Replies
RhinelanderOP
same issue even in incognito tab
Asian black bear
What's the exact diff of the hydration error in question? It will help you to find the exact source.