Made more client components to make the rendering not so crazy

This commit is contained in:
2025-06-04 10:28:37 -05:00
parent ef24642128
commit e2f291e707
13 changed files with 697 additions and 197 deletions

View File

@ -28,7 +28,7 @@ export const AvatarUpload = ({ onAvatarUploaded }: AvatarUploadProps) => {
maxHeight: 500,
quality: 0.8,
},
prevPath: profile?.avatar_url,
replace: {replace: true, path: profile?.avatar_url ?? file.name},
});
if (result.success && result.path) {
await onAvatarUploaded(result.path);