Fix file image

Deskripsi:
- Ukuran file yang di ambil dari server wibu di batasi menjadi maksimal hanya 500kb
This commit is contained in:
2024-12-12 00:49:10 +08:00
parent 01c0e87cd0
commit 9046316b9e
24 changed files with 84 additions and 89 deletions

View File

@@ -17,7 +17,7 @@ export function ComponentMap_LoadImageMap({
const router = useRouter();
const [isImage, setIsImage] = useState<boolean | null>(null);
const url = APIs.GET({ fileId: fileId, size: size });
const url = APIs.GET({ fileId: fileId, size: size ? size : "400" });
useShallowEffect(() => {
onLoadImage();