Closed agustif closed 3 years ago
This error doesn't originate from hamburger-react
, since there is no <img>
element and no evaluation that differs based on context (SSR vs browser).
Not all relevant code is provided so it's hard to debug, but this error is based on a mismatch in the HTML that's rendered on the server vs the hydrated HTML. You could search for logic that is based on browser-specific API's that aren't available in Node. For example, rendering something based on a window
property, localStorage
, etc.
Let me know if you have any questions.
Closed