Spaces:
Sleeping
Sleeping
File size: 277 Bytes
973f0d8 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import { getKVChat } from '@/lib/kv/chat';
import { Chat } from '.';
export interface ChatDataLoadProps {
chatId: string;
}
export default async function ChatDataLoad({ chatId }: ChatDataLoadProps) {
const chat = await getKVChat(chatId);
return <Chat chat={chat} />;
}
|