Update Switcher.tsx to fix build error
This commit is contained in:
parent
476303f52b
commit
723f526972
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import { Select } from '../SettingsDialog';
|
|||
|
||||
type Theme = 'dark' | 'light' | 'system';
|
||||
|
||||
const ThemeSwitcher = ({ className }: { className?: string }) => {
|
||||
const ThemeSwitcher = ({ className, size }: { className?: string; size?: number }) => {
|
||||
const [mounted, setMounted] = useState(false);
|
||||
|
||||
const { theme, setTheme } = useTheme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue