Skip to content

Commit

Permalink
Fixed name/id props
Browse files Browse the repository at this point in the history
  • Loading branch information
Darguima committed Nov 19, 2023
1 parent df48f5c commit b998adc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
16 changes: 8 additions & 8 deletions layout/Login/components/LoginForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ export default function LoginForm() {
autoComplete="email"
ref={emailRef}
/>
<div>
<PasswordInput
text="YOUR PASSWORD"
fgColor="white"
bgColor="primary"
ref={passwordRef}
/>
</div>
<PasswordInput
text="YOUR PASSWORD"
id="password"
name="password"
fgColor="white"
bgColor="primary"
ref={passwordRef}
/>
<Text
padding="6"
text="Forgot your password?"
Expand Down
2 changes: 2 additions & 0 deletions layout/ResetPassword/components/ResetPasswordForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export default function ResetPasswordForm() {
<Form onSubmit={onSubmit}>
<PasswordInput
text="PASSWORD"
name="password"
type="password"
fgColor="white"
bgColor="primary"
ref={passwordRef}
Expand Down
4 changes: 4 additions & 0 deletions layout/SignUp/components/SignUpForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,16 @@ export default function SignUpForm() {
/>
<PasswordInput
text="PASSWORD"
id="password"
name="password"
fgColor="white"
bgColor="primary"
onChange={(e) => updatePassword(e.currentTarget.value)}
/>
<PasswordInput
text="CONFIRM PASSWORD"
name="confirm"
type="confirm"
fgColor="white"
bgColor="primary"
/>
Expand Down
4 changes: 4 additions & 0 deletions pages/register/[uuid].js
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ function Register() {
/>
<PasswordInput
text="PASSWORD"
name="password"
type="password"
fgColor="white"
bgColor="primary"
onChange={(e) => updatePassword(e.currentTarget.value)}
/>
<PasswordInput
text="CONFIRM PASSWORD"
name="confirm"
type="confirm"
fgColor="white"
bgColor="primary"
onChange={(e) => updatePasswordConfirmation(e.currentTarget.value)}
Expand Down

0 comments on commit b998adc

Please sign in to comment.