From e2776453336b7ed4812806160a26937c081f912c Mon Sep 17 00:00:00 2001 From: Liam Date: Mon, 22 Apr 2024 17:06:50 +0100 Subject: [PATCH] update the command menu --- src/app/(pages)/player/[[...id]]/page.tsx | 9 ++------- src/app/components/command-menu.tsx | 4 +++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/app/(pages)/player/[[...id]]/page.tsx b/src/app/(pages)/player/[[...id]]/page.tsx index 50a42ef..1552a3d 100644 --- a/src/app/(pages)/player/[[...id]]/page.tsx +++ b/src/app/(pages)/player/[[...id]]/page.tsx @@ -21,11 +21,6 @@ type Params = { }; }; -export async function getData(id: string): Promise { - console.log("called"); - return getPlayer(id); -} - export async function generateViewport({ params: { id } }: Params): Promise { const validPlayer = await isValidPlayer(id); return { @@ -43,7 +38,7 @@ export async function generateMetadata({ params: { id } }: Params): Promise - {page.title} +

{page.title}

+

{page.summary}

); })}