Spaces:
Sleeping
Sleeping
File size: 310 Bytes
96ac62a d0a1b70 a86b547 96ac62a d0a1b70 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import { getKVChat } from '@/lib/kv/chat';
import { Chat } from '@/components/chat';
interface PageProps {
params: {
id: string;
};
}
export default async function Page({ params }: PageProps) {
const { id: chatId } = params;
const chat = await getKVChat(chatId);
return <Chat chat={chat} />;
}
|