one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s

This commit is contained in:
2025-12-17 10:49:46 -08:00
parent d3ad50cde6
commit ed2eb1743e
8 changed files with 179 additions and 140 deletions

View File

@@ -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" />