hata düzeltme
This commit is contained in:
@@ -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