From b3895d18f13fcfb8482a0b329fecb400b37d2dd1 Mon Sep 17 00:00:00 2001 From: Willi-m Date: Tue, 15 Aug 2023 17:09:45 +0800 Subject: [PATCH] [Docs] fix missing `'` In https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#opting-out-of-data-caching a single quote (`'`) is missing. --- .../02-data-fetching/01-fetching-caching-and-revalidating.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx index 4acf4f82c5e9b..f2bb2c610f9fe 100644 --- a/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx +++ b/docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx @@ -240,7 +240,7 @@ If an error is thrown while attempting to revalidate data, the last successfully `fetch` requests are **not** cached if: -- The `cache: 'no-store` is added to `fetch` requests. +- The `cache: 'no-store'` is added to `fetch` requests. - The `revalidate: 0` option is added to individual `fetch` requests. - The `fetch` request is inside a Router Handler that uses the `POST` method. - The `fetch` request comes after the usage of `headers` or `cookies`.