mirror of
https://litchi.icu/ngc2207/judge4c-demo.git
synced 2025-05-18 19:56:34 +00:00
feat: 添加单个代码片段展示页面
This commit is contained in:
parent
24fdbcdf16
commit
58a12e7042
8
src/app/snippets/[id]/page.tsx
Normal file
8
src/app/snippets/[id]/page.tsx
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export default async function SnippetShowPage({
|
||||||
|
params,
|
||||||
|
}: {
|
||||||
|
params: Promise<{ id: string }>;
|
||||||
|
}) {
|
||||||
|
const id = (await params).id;
|
||||||
|
return <div>Show a snippet: {id}</div>;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user