Skip to content

Commit a722ec5

Browse files
committed
fix:inconsitent in the for and id use
1 parent d78c8af commit a722ec5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/modules/User/components/AccountForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function AccountForm() {
144144
<Field name="currentPassword">
145145
{(field) => (
146146
<p className="form__field">
147-
<label htmlFor="current password" className="form__label">
147+
<label htmlFor="currentPassword" className="form__label">
148148
{t('AccountForm.CurrentPassword')}
149149
</label>
150150
<input
@@ -166,7 +166,7 @@ export function AccountForm() {
166166
<Field name="newPassword">
167167
{(field) => (
168168
<p className="form__field">
169-
<label htmlFor="new password" className="form__label">
169+
<label htmlFor="newPassword" className="form__label">
170170
{t('AccountForm.NewPassword')}
171171
</label>
172172
<input

0 commit comments

Comments
 (0)