This commit is contained in:
NotII
2025-04-06 15:39:37 +01:00
parent 80fb9b0be2
commit a651bd3ec4
6 changed files with 72 additions and 12 deletions

View File

@@ -8,10 +8,11 @@ export const metadata: Metadata = {
description: "View and respond to customer messages",
};
export default function ChatDetailPage({ params }: { params: { id: string } }) {
export default async function ChatDetailPage({ params }: { params: { id: string } }) {
const chatId = await params.id;
return (
<Dashboard>
<ChatDetail chatId={params.id} />
<ChatDetail chatId={chatId} />
</Dashboard>
);
}