Skip to content

Commit

Permalink
Stop using dynamicParams
Browse files Browse the repository at this point in the history
  • Loading branch information
otoyo authored and n0bisuke committed Dec 30, 2022
1 parent 6fd5b72 commit 9ce7e8e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/posts/[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/posts/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

0 comments on commit 9ce7e8e

Please sign in to comment.