feat(navbar): make delete & plus button work

This commit is contained in:
ItzCrazyKns 2024-10-29 19:59:58 +05:30 committed by Damien Laureaux
parent 83ce814c92
commit 61d5aeca4e
No known key found for this signature in database
GPG key ID: 3802EADA1C1C604D
3 changed files with 27 additions and 8 deletions

View file

@ -503,7 +503,7 @@ const ChatWindow = ({ id }: { id?: string }) => {
<div>
{messages.length > 0 ? (
<>
<Navbar messages={messages} />
<Navbar chatId={chatId!} messages={messages} />
<Chat
loading={loading}
messages={messages}