hata düzeltme

This commit is contained in:
2026-01-25 02:13:46 +03:00
parent 6992891ae3
commit a7ef9bd899
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ interface SettingsTabsProps {
username: string username: string
header: string header: string
} | null } | null
users: any[] users: Record<string, any>[]
contents: SiteContent[] contents: SiteContent[]
} }

View File

@@ -1,6 +1,6 @@
import Link from "next/link" import Link from "next/link"
import { getSiteContents } from "@/lib/data" import { getSiteContents } from "@/lib/data"
import { Instagram, Youtube, Facebook } from "lucide-react" import { Instagram, Youtube } from "lucide-react"
import { FaTiktok } from "react-icons/fa" import { FaTiktok } from "react-icons/fa"
export async function Footer() { export async function Footer() {

View File

@@ -22,7 +22,7 @@ export const getSiteContents = cache(async () => {
const contentMap: Record<string, string> = {} const contentMap: Record<string, string> = {}
if (data) { if (data) {
data.forEach((item: any) => { data.forEach((item: { key: string; value: string }) => {
contentMap[item.key] = item.value contentMap[item.key] = item.value
}) })
} }