Skip to content

Commit 2630fad

Browse files
Fix file path to posts detail page (#7574)
1 parent b77cd06 commit 2630fad

File tree

1 file changed

+1
-1
lines changed
  • apps/docs/content/docs/guides/frameworks

1 file changed

+1
-1
lines changed

apps/docs/content/docs/guides/frameworks/nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ In the `posts` directory, create a new `[id]` directory and a new `page.tsx` fil
428428
mkdir -p "app/posts/[id]" && touch "app/posts/[id]/page.tsx"
429429
```
430430

431-
This page will display a single post's title, content, and author. Just like your other pages, add the following code to the `app/posts/new/page.tsx` file:
431+
This page will display a single post's title, content, and author. Just like your other pages, add the following code to the `app/posts/[id]/page.tsx` file:
432432

433433
```tsx title="app/posts/[id]/page.tsx"
434434
import prisma from "@/lib/prisma";

0 commit comments

Comments
 (0)