File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 77 - package-ecosystem : " github-actions"
88 directory : " /"
99 schedule :
10- interval : " monthly"
10+ interval : " monthly"
Original file line number Diff line number Diff line change @@ -79,7 +79,10 @@ export const useProfileData = () => {
7979 setIsEditing ( ! isEditing ) ;
8080 } ;
8181
82- const handleAvatarFileChange = ( file : File | null , preview : string | null ) => {
82+ const handleAvatarFileChange = (
83+ file : File | null ,
84+ preview : string | null ,
85+ ) => {
8386 setFormData ( ( prev ) => ( {
8487 ...prev ,
8588 avatarFile : file ,
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export async function uploadAvatar(
5151 if ( error . message . includes ( "Bucket not found" ) ) {
5252 throw new Error (
5353 `El bucket '${ AVATAR_BUCKET } ' no existe. Por favor, créalo en Supabase Storage. ` +
54- `Ve a Storage > Buckets > New bucket y crea un bucket llamado '${ AVATAR_BUCKET } ' con acceso público.`
54+ `Ve a Storage > Buckets > New bucket y crea un bucket llamado '${ AVATAR_BUCKET } ' con acceso público.` ,
5555 ) ;
5656 }
5757 throw new Error ( `Error al subir el avatar: ${ error . message } ` ) ;
You can’t perform that action at this time.
0 commit comments