added explicit route

This commit is contained in:
Ubuntu 2025-03-27 18:05:31 +00:00
parent 561af1adf2
commit 6e2817ef73
5 changed files with 61 additions and 10 deletions

View file

@ -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>
);