feat(theme-components): use default exports

This commit is contained in:
ItzCrazyKns 2024-05-31 11:02:00 +05:30
parent 90f9edea95
commit dcbcab3122
No known key found for this signature in database
GPG key ID: 8162927C7CCE3065
6 changed files with 13 additions and 10 deletions

View file

@ -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 ThemeSwitcher from './theme/Switcher';
const Navbar = ({ messages }: { messages: Message[] }) => {
const [title, setTitle] = useState<string>('');