import React from "react";
import { Metadata } from "next";
import ChatDetail from "@/components/dashboard/ChatDetail";
import Dashboard from "@/components/dashboard/dashboard";

export const metadata: Metadata = {
  title: "Chat Conversation",
  description: "View and respond to customer messages",
};

export default function ChatDetailPage({ params }: { params: { id: string } }) {
  return (
    <Dashboard>
      <ChatDetail chatId={params.id} />
    </Dashboard>
  );
} 