Merge pull request 'Fix Seeder Image, Menu Landing Page - Desa' (#56) from nico/30-jan-26 into staggingweb

Reviewed-on: http://wibugit.wibudev.com/wibu/desa-darmasaba/pulls/56
This commit is contained in:
2026-01-30 15:57:16 +08:00
61 changed files with 4533 additions and 5162 deletions

View File

@@ -552,7 +552,7 @@ const maskotDesa = proxy({
deskripsi: profileData.deskripsi || "",
images: (profileData.images || []).map((img) => ({
label: img.label,
imageId: img.image.id,
imageId: img?.image?.id || "",
})),
};
},

View File

@@ -462,7 +462,7 @@ function Page() {
<Card withBorder key={idx} p="xs" w={{ base: '100%', md: 180 }}>
<Center>
<Image
src={img.image.link}
src={ img?.image?.link || '/no-image.jpg'}
alt={img.label}
w={150}
h={150}
@@ -562,7 +562,7 @@ function Page() {
<Card withBorder key={idx} p="xs" w={{ base: '100%', md: 180 }}>
<Center>
<Image
src={img.image.link}
src={img?.image?.link || '/no-image.jpg'}
alt={img.label}
w={150}
h={150}