This commit is contained in:
Jared Palmer 2023-06-02 09:52:51 -04:00
parent 916a9a9659
commit c555ecd259
6 changed files with 144 additions and 138 deletions

View file

@ -46,7 +46,7 @@ export default async function ChatPage({ params }: ChatPageProps) {
<div className="relative flex h-full w-full overflow-hidden">
<Sidebar session={session} />
<div className="flex h-full min-w-0 flex-1 flex-col">
<Chat id={chat.id} messages={chat.messages} />
<Chat id={chat.id} initialMessages={chat.messages} />
</div>
</div>
);