From 68e48a0809f5065d03d545fed03787690badb743 Mon Sep 17 00:00:00 2001
From: Pauldic
Date: Wed, 23 Feb 2022 19:29:12 +0100
Subject: [PATCH] Fix typo in documentation (#34734)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`
## Documentation / Examples
- [ ] Make sure the linting passes by running `yarn lint`
---
docs/advanced-features/custom-document.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/advanced-features/custom-document.md b/docs/advanced-features/custom-document.md
index 2ef135fa783aa..97d427fbec1bc 100644
--- a/docs/advanced-features/custom-document.md
+++ b/docs/advanced-features/custom-document.md
@@ -41,7 +41,7 @@ Or add a `className` to the `body` tag:
## Caveats
- The `` component used in `_document` is not the same as [`next/head`](/docs/api-reference/next/head.md). The `
` component used here should only be used for any `
` code that is common for all pages. For all other cases, such as `
` tags, we recommend using [`next/head`](/docs/api-reference/next/head.md) in your pages or components.
-- React components outside of `` will not be initialized by the browser. Do _not_ add application logic here or custom CSS (like `styled-jsx`). If you need shared components in all your pages (like a menu or a toolbar), read [Layouts](/docs/basic-features/layouts.md) intead.
+- React components outside of `` will not be initialized by the browser. Do _not_ add application logic here or custom CSS (like `styled-jsx`). If you need shared components in all your pages (like a menu or a toolbar), read [Layouts](/docs/basic-features/layouts.md) instead.
- `Document` currently does not support Next.js [Data Fetching methods](/docs/basic-features/data-fetching/overview.md) like [`getStaticProps`](/docs/basic-features/data-fetching/get-static-props.md) or [`getServerSideProps`](/docs/basic-features/data-fetching/get-server-side-props.md).
## Customizing `renderPage`