diff --git a/apps/infoalloggi/src/components/navbar/theme-toggle.tsx b/apps/infoalloggi/src/components/navbar/theme-toggle.tsx index 7f91c4a..5147355 100644 --- a/apps/infoalloggi/src/components/navbar/theme-toggle.tsx +++ b/apps/infoalloggi/src/components/navbar/theme-toggle.tsx @@ -1,12 +1,12 @@ import { Moon, Sun } from "lucide-react"; import { useTheme } from "next-themes"; -import { motion } from "framer-motion"; +import { motion, type Transition } from "framer-motion"; import { cn } from "~/lib/utils"; export const ThemeSwitch = () => { const { theme, setTheme } = useTheme(); - const spring = { + const spring: Transition = { type: "spring", stiffness: 700, damping: 30,