diff --git a/components/ui/ThemeToggle.tsx b/components/ui/ThemeToggle.tsx index f3eb0d0..1fe3ea7 100644 --- a/components/ui/ThemeToggle.tsx +++ b/components/ui/ThemeToggle.tsx @@ -1,13 +1,13 @@ "use client"; import { useTheme } from "@wrksz/themes/client"; -import { motion } from "motion/react"; +import { m } from "motion/react"; export function ThemeToggle() { const { theme, setTheme } = useTheme(); return ( - setTheme(theme === "dark" ? "light" : "dark")} whileHover={{ scale: 1.1 }} @@ -20,6 +20,6 @@ export function ThemeToggle() { ) : ( )} - + ); }