"use client";

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

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