Fix file image
Deskripsi: - Ukuran file yang di ambil dari server wibu di batasi menjadi maksimal hanya 500kb
This commit is contained in:
@@ -24,7 +24,7 @@ export function ComponentGlobal_LoadImage({
|
||||
const [isImage, setIsImage] = useState<boolean | null>(null);
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
|
||||
const url = APIs.GET({ fileId: fileId });
|
||||
const url = APIs.GET({ fileId: fileId, size: "500" });
|
||||
|
||||
useShallowEffect(() => {
|
||||
onLoadImage();
|
||||
|
||||
Reference in New Issue
Block a user