File size: 404 Bytes
973f0d8
 
 
d0a1b70
a86b547
 
 
 
 
 
 
 
 
973f0d8
 
 
 
 
d0a1b70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import ChatDataLoad from '@/components/chat/ChatDataLoad';
import { Suspense } from 'react';
import Loading from '@/components/ui/Loading';

interface PageProps {
  params: {
    id: string;
  };
}

export default async function Page({ params }: PageProps) {
  const { id: chatId } = params;

  return (
    <Suspense fallback={<Loading />}>
      <ChatDataLoad chatId={chatId} />
    </Suspense>
  );
}