diff --git a/src/components/ui/theme-toggler.tsx b/src/components/ui/theme-toggler.tsx index ab6ec81..269ffcd 100644 --- a/src/components/ui/theme-toggler.tsx +++ b/src/components/ui/theme-toggler.tsx @@ -14,9 +14,9 @@ import * as React from 'react' export function ThemeToggler() { const { setTheme } = useTheme() - const setLightTheme = () => setTheme('light') - const setDarkTheme = () => setTheme('dark') - const setSystemTheme = () => setTheme('system') + const setThemeLight = () => setTheme('light') + const setThemeDark = () => setTheme('dark') + const setThemeSystem = () => setTheme('system') return ( @@ -28,9 +28,9 @@ export function ThemeToggler() { - Light - Dark - System + Light + Dark + System )