diff --git a/components/dashboard/settings-tabs.tsx b/components/dashboard/settings-tabs.tsx index 24be725..ba56075 100644 --- a/components/dashboard/settings-tabs.tsx +++ b/components/dashboard/settings-tabs.tsx @@ -14,7 +14,7 @@ interface SettingsTabsProps { username: string header: string } | null - users: any[] + users: Record[] contents: SiteContent[] } diff --git a/components/layout/footer.tsx b/components/layout/footer.tsx index c4822c7..505b0f8 100644 --- a/components/layout/footer.tsx +++ b/components/layout/footer.tsx @@ -1,6 +1,6 @@ import Link from "next/link" import { getSiteContents } from "@/lib/data" -import { Instagram, Youtube, Facebook } from "lucide-react" +import { Instagram, Youtube } from "lucide-react" import { FaTiktok } from "react-icons/fa" export async function Footer() { diff --git a/lib/data.ts b/lib/data.ts index 40311eb..af6df38 100644 --- a/lib/data.ts +++ b/lib/data.ts @@ -22,7 +22,7 @@ export const getSiteContents = cache(async () => { const contentMap: Record = {} if (data) { - data.forEach((item: any) => { + data.forEach((item: { key: string; value: string }) => { contentMap[item.key] = item.value }) }