fix(lint): resolve eslint warnings, type errors and clean unused code

This commit is contained in:
mstfyldz
2026-08-23 01:51:51 +03:00
parent b312bc5593
commit 99951328ed
9 changed files with 31 additions and 81 deletions
+2 -1
View File
@@ -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();