diff --git a/ui/components/Navbar.tsx b/ui/components/Navbar.tsx index 0123267..c080456 100644 --- a/ui/components/Navbar.tsx +++ b/ui/components/Navbar.tsx @@ -2,7 +2,7 @@ import { Clock, Edit, Share, Trash } from 'lucide-react'; import { Message } from './ChatWindow'; import { useEffect, useState } from 'react'; import { formatTimeDifference } from '@/lib/utils'; -import ThemeSwitcher from './theme/Switcher'; +import SettingsEntry from './SettingsEntry'; const Navbar = ({ messages }: { messages: Message[] }) => { const [title, setTitle] = useState(''); @@ -50,9 +50,11 @@ const Navbar = ({ messages }: { messages: Message[] }) => {

{title}

- -
+ {} - -const SettingsEntry = ({ className }: InputProps) => { +const SettingsEntry = ({ className, ...restProps }: LucideProps) => { const [isSettingsOpen, setIsSettingsOpen] = useState(false); return ( <> setIsSettingsOpen(!isSettingsOpen)} className={cn('cursor-pointer', className)} />