Skip to content

Commit d13e5fa

Browse files
committed
Format: ok
1 parent 4009b08 commit d13e5fa

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ updates:
77
- package-ecosystem: "github-actions"
88
directory: "/"
99
schedule:
10-
interval: "monthly"
10+
interval: "monthly"

src/hooks/use-profile-data.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

src/lib/supabase/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}`);

0 commit comments

Comments
 (0)