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

Stop using dynamicParams #146

Merged
merged 1 commit into from
Dec 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion app/blog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
} from '../../../lib/notion/client'

export const revalidate = 30
export const dynamicParams = false

export async function generateStaticParams() {
const posts = await getAllPosts()
Expand Down
1 change: 0 additions & 1 deletion app/blog/tag/[tag]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
} from '../../../../lib/notion/client'

export const revalidate = 60
export const dynamicParams = false

export async function generateStaticParams() {
const tags = await getAllTags()
Expand Down