Fix profile

Deskripsi:
- Fix load image saat di buka
This commit is contained in:
2024-12-11 13:58:32 +08:00
parent 67a66edd19
commit 9ceb4867e3
10 changed files with 40 additions and 24 deletions

View File

@@ -28,7 +28,7 @@ export function UIGlobal_ImagePreview({ fileId }: { fileId: string }) {
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();