From 34a7ea77cc06a94c043f6d71327b937b0f07c075 Mon Sep 17 00:00:00 2001 From: Fabian Volkers <33686912+FabianVolkers@users.noreply.github.com> Date: Sat, 28 Feb 2026 17:25:44 +0100 Subject: [PATCH] Fix file path to posts detail page --- apps/docs/content/docs/guides/frameworks/nextjs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/guides/frameworks/nextjs.mdx b/apps/docs/content/docs/guides/frameworks/nextjs.mdx index 9dbc79e877..1db161c33a 100644 --- a/apps/docs/content/docs/guides/frameworks/nextjs.mdx +++ b/apps/docs/content/docs/guides/frameworks/nextjs.mdx @@ -421,7 +421,7 @@ In the `posts` directory, create a new `[id]` directory and a new `page.tsx` fil mkdir -p "app/posts/[id]" && touch "app/posts/[id]/page.tsx" ``` -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: +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: ```tsx title="app/posts/[id]/page.tsx" import prisma from "@/lib/prisma";