Remove unnecessary semicolons in password fields

Redundant semicolons in password input fields in 'RegisterModal.astro' and 'LoginModal.astro' files have been removed. This addresses unnecessary symbols inserted in the code, ensuring cleaner and more readable syntax. 'aria-describedby' attribute in 'RegisterModal.astro' was also adjusted for better accessibility.
This commit is contained in:
Emil Gulamov 2024-02-19 10:13:23 +04:00
parent 1730ce1bd4
commit 5b8218c5e5
2 changed files with 0 additions and 4 deletions

View file

@ -63,7 +63,6 @@ const config = {
<PasswordInput <PasswordInput
forgot={true} forgot={true}
id="password" id="password"
;
errorId="login-password-error" errorId="login-password-error"
content="8+ characters required" content="8+ characters required"
/> />

View file

@ -63,7 +63,6 @@ const config = {
<!-- Password input field --> <!-- Password input field -->
<PasswordInput <PasswordInput
id="create-password" id="create-password"
;
errorId="register-password-error" errorId="register-password-error"
content="8+ characters required" content="8+ characters required"
/> />
@ -71,9 +70,7 @@ const config = {
<PasswordInput <PasswordInput
label="Confirm Password" label="Confirm Password"
id="confirm-password" id="confirm-password"
;
errorId="confirm-password-error" errorId="confirm-password-error"
aria="confirm-password-error"
content="Password does not match the password" content="Password does not match the password"
/> />
<!-- Checkbox with a label and a link for accepting the terms and conditions --> <!-- Checkbox with a label and a link for accepting the terms and conditions -->