From a3d31a6422dc057fa9e8e5ef753f6abc6b469f43 Mon Sep 17 00:00:00 2001 From: 5alidz Date: Tue, 10 Mar 2020 23:39:45 +0300 Subject: [PATCH 1/2] fix missing open parenthesis --- docs/basic-features/data-fetching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index 763191de851f9..2f01a56c01acf 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -229,7 +229,7 @@ If `fallback` is `true`, then the behavior of `getStaticProps` changes: In the “fallback” version of a page: - The page’s props will be empty. -- Using the [router](/docs/api-reference/next/router.md)), you can detect if the fallback is being rendered, `router.isFallback` will be `true`. +- Using the ([router](/docs/api-reference/next/router.md)), you can detect if the fallback is being rendered, `router.isFallback` will be `true`. Here’s an example that uses `isFallback`: From 433c68abdd5d9923f70da73c22a0b1d57ba40d7c Mon Sep 17 00:00:00 2001 From: 5alidz Date: Tue, 10 Mar 2020 23:52:25 +0300 Subject: [PATCH 2/2] Apply suggestions from code review Co-Authored-By: JJ Kasper --- docs/basic-features/data-fetching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index 2f01a56c01acf..b77dc3dc58063 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -229,7 +229,7 @@ If `fallback` is `true`, then the behavior of `getStaticProps` changes: In the “fallback” version of a page: - The page’s props will be empty. -- Using the ([router](/docs/api-reference/next/router.md)), you can detect if the fallback is being rendered, `router.isFallback` will be `true`. +- Using the [router](/docs/api-reference/next/router.md), you can detect if the fallback is being rendered, `router.isFallback` will be `true`. Here’s an example that uses `isFallback`: