hata düzeltme
This commit is contained in:
@@ -14,7 +14,7 @@ interface SettingsTabsProps {
|
||||
username: string
|
||||
header: string
|
||||
} | null
|
||||
users: any[]
|
||||
users: Record<string, any>[]
|
||||
contents: SiteContent[]
|
||||
}
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -22,7 +22,7 @@ export const getSiteContents = cache(async () => {
|
||||
const contentMap: Record<string, string> = {}
|
||||
|
||||
if (data) {
|
||||
data.forEach((item: any) => {
|
||||
data.forEach((item: { key: string; value: string }) => {
|
||||
contentMap[item.key] = item.value
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user