From 58a12e70425096098bd0b87137f2381a0f514bbe Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Tue, 12 Nov 2024 15:05:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=8D=95=E4=B8=AA?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=89=87=E6=AE=B5=E5=B1=95=E7=A4=BA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/snippets/[id]/page.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/app/snippets/[id]/page.tsx diff --git a/src/app/snippets/[id]/page.tsx b/src/app/snippets/[id]/page.tsx new file mode 100644 index 0000000..1db2063 --- /dev/null +++ b/src/app/snippets/[id]/page.tsx @@ -0,0 +1,8 @@ +export default async function SnippetShowPage({ + params, +}: { + params: Promise<{ id: string }>; +}) { + const id = (await params).id; + return
Show a snippet: {id}
; +}