Skip to content

Commit

Permalink
docs: Add missing closing tag for react hydration error message. (ver…
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew authored Jul 12, 2023
1 parent 82cf9a6 commit b89424e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/react-hydration-error.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Hydration errors can occur from:

1. Incorrect nesting of HTML tags
1. `<p>` nested in another `<p>` tag
2. `<div` nested in a `<p>` tag
2. `<div>` nested in a `<p>` tag
2. Using checks like `typeof window !== 'undefined'` in your rendering logic
3. Using browser-only APIs like `window` or `localStorage` in your rendering logic
4. [Browser extensions](https://github.com/facebook/react/issues/24430) modifying the HTML
Expand Down

0 comments on commit b89424e

Please sign in to comment.