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 -2
View File
@@ -3,8 +3,8 @@
import { useState } from "react";
import { m, AnimatePresence } from "framer-motion";
import { Plus, Minus } from "lucide-react";
import { SectionHeader } from "@/app/components/ui/section-header";
import { Badge } from "@/app/components/ui/badge";
import type { Dictionary } from "@/types/dictionary";
function FaqItem({ q, a }: { q: string; a: string }) {
const [open, setOpen] = useState(false);
@@ -41,7 +41,7 @@ function FaqItem({ q, a }: { q: string; a: string }) {
);
}
export default function SSSClient({ lang, dict }: { lang: string; dict: any }) {
export default function SSSClient({ dict }: { lang?: string; dict: Dictionary }) {
const t = dict.faq;
const FAQS = [