Perplexica/ui/app/c/[chatId]/page.tsx

10 lines
252 B
TypeScript
Raw Normal View History

2024-06-29 11:09:51 +05:30
import ChatWindow from '@/components/ChatWindow';
import React from 'react';
2024-06-29 11:09:51 +05:30
const Page = ({ params }: { params: Promise<{ chatId: string }> }) => {
const { chatId } = React.use(params);
return <ChatWindow id={chatId} />;
2024-06-29 11:09:51 +05:30
};
export default Page;