From a7ef9bd89953a90aacd0dbd8497df888117959a4 Mon Sep 17 00:00:00 2001 From: Kenan KARAER Date: Sun, 25 Jan 2026 02:13:46 +0300 Subject: [PATCH] =?UTF-8?q?hata=20d=C3=BCzeltme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dashboard/settings-tabs.tsx | 2 +- components/layout/footer.tsx | 2 +- lib/data.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 }) }