fix(lint): resolve eslint warnings, type errors and clean unused code
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user