Skip to content

Commit 6864429

Browse files
committedFeb 9, 2025·
fix: Fixed build error
1 parent 7a2e817 commit 6864429

File tree

4 files changed

+14
-20
lines changed

4 files changed

+14
-20
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@hookform/resolvers": "^3.9.0",
1818
"@jill64/universal-sanitizer": "^1.3.2",
1919
"@next-auth/prisma-adapter": "^1.0.7",
20-
"@prisma/client": "5.21.1",
20+
"@prisma/client": "5.22.0",
2121
"@radix-ui/react-accordion": "^1.2.0",
2222
"@radix-ui/react-alert-dialog": "^1.1.1",
2323
"@radix-ui/react-aspect-ratio": "^1.1.0",

‎pnpm-lock.yaml

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/app/post/[id]/page.tsx

-8
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,3 @@ const DetailPostPage: FC<Props> = async ({ params: { id } }) => {
3434
}
3535

3636
export default DetailPostPage
37-
38-
// export const generateStaticParams = async () => {
39-
// const responsePostIds = (await serverRequestGetVisiblePostIds()) as ResponseGetPostIdListType
40-
41-
// if ('error' in responsePostIds) return []
42-
43-
// return responsePostIds.postIds.map((id) => ({ id: id.toString() }))
44-
// }

‎src/app/post/list/page.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ const PostListPage: FC = async () => {
1111
}
1212

1313
export default PostListPage
14+
15+
export const dynamic = 'force-dynamic'

0 commit comments

Comments
 (0)
Please sign in to comment.