Inputs weren't Bound

This commit is contained in:
Justin Edmund 2022-12-26 11:50:45 -08:00
parent 7a10d7b33f
commit 4a651eaaff
2 changed files with 6 additions and 0 deletions

View file

@ -203,6 +203,7 @@ const LoginModal = (props: Props) => {
<form className="form" onSubmit={login}>
<Input
className="Bound"
name="email"
placeholder={t('modals.login.placeholders.email')}
onChange={handleChange}
@ -211,6 +212,7 @@ const LoginModal = (props: Props) => {
/>
<Input
className="Bound"
name="password"
placeholder={t('modals.login.placeholders.password')}
type="password"

View file

@ -295,6 +295,7 @@ const SignupModal = (props: Props) => {
<form className="form" onSubmit={register}>
<Input
className="Bound"
name="username"
placeholder={t('modals.signup.placeholders.username')}
onChange={handleNameChange}
@ -303,6 +304,7 @@ const SignupModal = (props: Props) => {
/>
<Input
className="Bound"
name="email"
placeholder={t('modals.signup.placeholders.email')}
onChange={handleNameChange}
@ -311,6 +313,7 @@ const SignupModal = (props: Props) => {
/>
<Input
className="Bound"
name="password"
placeholder={t('modals.signup.placeholders.password')}
type="password"
@ -320,6 +323,7 @@ const SignupModal = (props: Props) => {
/>
<Input
className="Bound"
name="confirm_password"
placeholder={t('modals.signup.placeholders.password_confirm')}
type="password"