Refactor: Simplify event handling in FlyerUploader tests and enhance form submission in ProfileManager for improved clarity and robustness
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 22m11s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 22m11s
This commit is contained in:
@@ -372,7 +372,7 @@ export const ProfileManager: React.FC<ProfileManagerProps> = ({ isOpen, onClose,
|
||||
</div>
|
||||
|
||||
{activeTab === 'profile' && (
|
||||
<form onSubmit={handleProfileSave} className="space-y-4">
|
||||
<form data-testid="profile-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