fix(lint): resolve eslint warnings, type errors and clean unused code
This commit is contained in:
@@ -7,8 +7,9 @@ import { usePathname } from "next/navigation";
|
||||
import { Menu, X, Globe } from "lucide-react";
|
||||
import { m, AnimatePresence } from "framer-motion";
|
||||
import { Locale } from "../dictionaries";
|
||||
import type { Dictionary } from "@/types/dictionary";
|
||||
|
||||
export default function Navbar({ lang, dict }: { lang: Locale; dict: any }) {
|
||||
export default function Navbar({ lang, dict }: { lang: Locale; dict: Dictionary["navigation"] }) {
|
||||
const [isScrolled, setIsScrolled] = useState(false);
|
||||
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
||||
const pathname = usePathname();
|
||||
|
||||
Reference in New Issue
Block a user