Fix All Image Add Lazy Loading

This commit is contained in:
2025-09-19 10:41:18 +08:00
parent 9f72e94557
commit 068d8b1077
180 changed files with 390 additions and 323 deletions

View File

@@ -190,7 +190,7 @@ function PengaduanMasyarakat() {
</Group>
</Dropzone>
{previewImage ? (
<Image alt="" src={previewImage} w={200} h={200} />
<Image alt="" src={previewImage} w={200} h={200} loading="lazy"/>
) : (
<Center w={200} h={200} bg={"gray"}>
<IconImageInPicture />