added explicit route
This commit is contained in:
parent
561af1adf2
commit
6e2817ef73
5 changed files with 61 additions and 10 deletions
|
|
@ -3,6 +3,7 @@ import { Message } from './ChatWindow';
|
|||
import { useEffect, useState } from 'react';
|
||||
import { formatTimeDifference } from '@/lib/utils';
|
||||
import DeleteChat from './DeleteChat';
|
||||
import ProfileButton from './ProfileButton'; // adjust path if needed
|
||||
|
||||
const Navbar = ({
|
||||
chatId,
|
||||
|
|
@ -64,6 +65,7 @@ const Navbar = ({
|
|||
className="active:scale-95 transition duration-100 cursor-pointer"
|
||||
/>
|
||||
<DeleteChat redirect chatId={chatId} chats={[]} setChats={() => {}} />
|
||||
<ProfileButton /> {/* 👈 Add this here */}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue