Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

Commit a9b0dc2

Browse files
authored
Merge pull request #140 from otoyo/enable-dunamicparams
Enable dynamicParams = false
2 parents 60e456c + cb891c3 commit a9b0dc2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/blog/[slug]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ import {
2525
} from '../../../lib/notion/client'
2626

2727
export const revalidate = 30
28-
// TODO: Enable after fixed https://github.com/vercel/next.js/issues/43357
29-
// export const dynamicParams = false
28+
export const dynamicParams = false
3029

3130
export async function generateStaticParams() {
3231
const posts = await getAllPosts()

app/blog/tag/[tag]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ import {
2121
} from '../../../../lib/notion/client'
2222

2323
export const revalidate = 60
24-
// TODO: Enable after fixed https://github.com/vercel/next.js/issues/43357
25-
// export const dynamicParams = false
24+
export const dynamicParams = false
2625

2726
export async function generateStaticParams() {
2827
const tags = await getAllTags()

0 commit comments

Comments
 (0)