diff --git a/packages/frontend/src/components/CelebrityProfile.jsx b/packages/frontend/src/components/CelebrityProfile.jsx index 273f1c2..a5308a5 100644 --- a/packages/frontend/src/components/CelebrityProfile.jsx +++ b/packages/frontend/src/components/CelebrityProfile.jsx @@ -240,37 +240,6 @@ function CelebrityProfile() { - - Galleria e Upload - - {celebrity.images.map(img => ( - - - - handleSetProfileImage(img.id)} disabled={celebrity.profile_image_id === img.id} title="Imposta come immagine profilo">Profilo - handleDeleteImage(img.id)} className="secondary" title="Elimina immagine">X - - - ))} - - - - Carica da File - fileInputRef.current.click()} onDrop={handleDrop} onDragOver={handleDragOver} onDragEnter={handleDragEnter} onDragLeave={handleDragLeave} aria-busy={isUploading}> - - {isUploading ? Caricamento di {selectedFiles.length} file... : Trascina i file qui, o clicca per selezionare.} - - - - Aggiungi da URL - - setImageUrl(e.target.value)} disabled={isFetchingFromUrl} /> - {isFetchingFromUrl ? '...' : 'Aggiungi'} - - - - - Dati Anagrafici @@ -324,6 +293,37 @@ function CelebrityProfile() { + + Galleria e Upload + + {celebrity.images.map(img => ( + + + + handleSetProfileImage(img.id)} disabled={celebrity.profile_image_id === img.id} title="Imposta come immagine profilo">Profilo + handleDeleteImage(img.id)} className="secondary" title="Elimina immagine">X + + + ))} + + + + Carica da File + fileInputRef.current.click()} onDrop={handleDrop} onDragOver={handleDragOver} onDragEnter={handleDragEnter} onDragLeave={handleDragLeave} aria-busy={isUploading}> + + {isUploading ? Caricamento di {selectedFiles.length} file... : Trascina i file qui, o clicca per selezionare.} + + + + Aggiungi da URL + + setImageUrl(e.target.value)} disabled={isFetchingFromUrl} /> + {isFetchingFromUrl ? '...' : 'Aggiungi'} + + + + + );
Caricamento di {selectedFiles.length} file...
Trascina i file qui, o clicca per selezionare.