fix ( upload image )

deskripsi:
- menyederhanakan upload image saat create profile
This commit is contained in:
2025-01-13 15:57:25 +08:00
parent 40d69ffc99
commit cdc548885d
6 changed files with 80 additions and 159 deletions

View File

@@ -32,10 +32,10 @@ export function ComponentGlobal_ButtonUploadFileImage({
onSetFile(files);
onSetImage(buffer);
setIsLoading(false);
} catch (error) {
clientLogger.error("Upload image error:", error);
} finally {
setIsLoading(false);
clientLogger.error("Upload error:", error);
}
}}
accept="image/png,image/png,image/jpeg,image/gif"