API Upload Image

Profile:
- (user)/profile/[id]/update-background.tsx : perbaikan api
-  app/(application)/(user)/profile/[id]/update-photo.tsx

Fix:
-   service/upload-service.ts : ganti Toast menjadi throw untuk dapatkna error

### No Issue
This commit is contained in:
2025-08-28 15:18:15 +08:00
parent d3c4f04e07
commit 40441c929f
7 changed files with 94 additions and 99 deletions

View File

@@ -6,8 +6,8 @@ export default function IconEdit({
size,
color,
}: {
size: number;
color: string;
size?: number;
color?: string;
}) {
return (
<>