docs: Add missing closing tag for react hydration error message. (#52607)

This commit is contained in:
Anthony Shew 2023-07-12 15:22:10 -07:00 committed by GitHub
parent 82cf9a670e
commit b89424e461
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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