diff --git a/ui/components/EmptyChat.tsx b/ui/components/EmptyChat.tsx index 2aade48..ea3642b 100644 --- a/ui/components/EmptyChat.tsx +++ b/ui/components/EmptyChat.tsx @@ -1,5 +1,4 @@ import EmptyChatMessageInput from './EmptyChatMessageInput'; -import ThemeSwitcher from './theme/Switcher'; const EmptyChat = ({ sendMessage, @@ -12,8 +11,6 @@ const EmptyChat = ({ }) => { return (
- -

Research begins here. diff --git a/ui/components/MessageBox.tsx b/ui/components/MessageBox.tsx index 89c6761..1dce2d0 100644 --- a/ui/components/MessageBox.tsx +++ b/ui/components/MessageBox.tsx @@ -7,7 +7,6 @@ import { cn } from '@/lib/utils'; import { BookCopy, Disc3, - Share, Volume2, StopCircle, Layers3, diff --git a/ui/components/Navbar.tsx b/ui/components/Navbar.tsx index 0123267..020dfb4 100644 --- a/ui/components/Navbar.tsx +++ b/ui/components/Navbar.tsx @@ -2,7 +2,6 @@ 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'; const Navbar = ({ messages }: { messages: Message[] }) => { const [title, setTitle] = useState(''); @@ -50,8 +49,6 @@ const Navbar = ({ messages }: { messages: Message[] }) => {

{title}

- -
{ return ( diff --git a/ui/components/theme/Switcher.tsx b/ui/components/theme/Switcher.tsx index 22e2ecc..43bbdc8 100644 --- a/ui/components/theme/Switcher.tsx +++ b/ui/components/theme/Switcher.tsx @@ -2,7 +2,6 @@ import { useTheme } from 'next-themes'; import { SunIcon, MoonIcon, MonitorIcon } from 'lucide-react'; import { useCallback, useEffect, useState } from 'react'; -import { cn } from '@/lib/utils'; import { Select } from '../SettingsDialog'; type Theme = 'dark' | 'light' | 'system'; @@ -53,7 +52,7 @@ const ThemeSwitcher = ({ className }: { className?: string }) => { onChange={(e) => handleThemeSwitch(e.target.value as Theme)} options={[ { value: 'light', label: 'Light' }, - { value: 'dark', label: 'Dark' } + { value: 'dark', label: 'Dark' }, ]} /> );