diff --git a/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx b/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx index 42144a3..198ff5a 100644 --- a/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx +++ b/src/app/[locale]/admin/clubs/[club_id]/tabs/ClubProfileTab.tsx @@ -36,20 +36,12 @@ function EditableField({ }: EditableFieldProps) { const hasValue = value && value.trim().length > 0; - function handleBlur() { - // Only close edit mode if field has content - if (value && value.trim().length > 0) { - onToggleEdit(); - } - } - if (isEditing || !hasValue) { return ( onChange(e.target.value)} - onBlur={handleBlur} autoFocus placeholder={placeholder} maxLength={maxLength} @@ -323,7 +315,6 @@ export default function ClubProfileTab({ clubId, onUpdate }: ClubProfileTabProps type="text" value={name} onChange={(e) => setName(e.target.value)} - onBlur={() => hasFieldValue(name) && toggleEditField('name')} autoFocus className={`w-full px-4 py-3 border-2 rounded-lg font-medium transition-colors ${ errors.name @@ -355,7 +346,6 @@ export default function ClubProfileTab({ clubId, onUpdate }: ClubProfileTabProps