mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-07-13 20:18:40 +00:00
feat(app): port history saving features
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
import ChatWindow from '@/components/ChatWindow';
|
||||
import React from 'react';
|
||||
|
||||
const Page = ({ params }: { params: { chatId: string } }) => {
|
||||
return <ChatWindow id={params.chatId} />;
|
||||
const Page = ({ params }: { params: Promise<{ chatId: string }> }) => {
|
||||
const { chatId } = React.use(params);
|
||||
return <ChatWindow id={chatId} />;
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
Reference in New Issue
Block a user