Skip to content

Commit

Permalink
docs: Add missing closing tag for react hydration error message. (#52607
Browse files Browse the repository at this point in the history
)
  • Loading branch information
anthonyshew committed 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
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.