diff --git a/src/app/(main)/profile/ThemeSetting.tsx b/src/app/(main)/profile/ThemeSetting.tsx index 070d1714..0dbe72c3 100644 --- a/src/app/(main)/profile/ThemeSetting.tsx +++ b/src/app/(main)/profile/ThemeSetting.tsx @@ -1,17 +1,16 @@ import classNames from 'classnames'; -import { Button, Icon } from '@umami/react-zen'; -import { useTheme } from '@/components/hooks'; +import { Button, Icon, useTheme } from '@umami/react-zen'; import { Icons } from '@/components/icons'; import styles from './ThemeSetting.module.css'; export function ThemeSetting() { - const { theme, saveTheme } = useTheme(); + const { theme, setTheme } = useTheme(); return (