I ran into the same error for the Shadcn chart and sidebarbutton components. When the error shows, Next.js would display the offending component and line of code. I went in and added id tags to where I call said components to resolve the hydration server-client mismatch.