one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s
This commit is contained in:
@@ -192,10 +192,6 @@ export const ProfileManager: React.FC<ProfileManagerProps> = ({ isOpen, onClose,
|
||||
logger.debug('[handleProfileSave] Save process finished.');
|
||||
};
|
||||
|
||||
// --- DEBUG LOGGING ---
|
||||
// Log the loading states on every render to debug the submit button's disabled state.
|
||||
logger.debug('[ComponentRender] Loading states:', { profileLoading, addressLoading });
|
||||
|
||||
const handleAddressChange = (field: keyof Address, value: string) => {
|
||||
setAddress(prev => ({ ...prev, [field]: value }));
|
||||
};
|
||||
@@ -383,7 +379,7 @@ export const ProfileManager: React.FC<ProfileManagerProps> = ({ isOpen, onClose,
|
||||
</div>
|
||||
|
||||
{activeTab === 'profile' && (
|
||||
<form aria-label="Profile Form" onSubmit={handleProfileSave} className="space-y-4">
|
||||
<form onSubmit={handleProfileSave} className="space-y-4">
|
||||
<div>
|
||||
<label htmlFor="fullName" className="block text-sm font-medium text-gray-700 dark:text-gray-300">Full Name</label>
|
||||
<input id="fullName" type="text" value={fullName} onChange={e => setFullName(e.target.value)} className="mt-1 block w-full px-3 py-2 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm" />
|
||||
|
||||
Reference in New Issue
Block a user