Fixed a bug in the RegisterFields.jsx
This commit is contained in:
parent
6cd70b8145
commit
bf012fe616
@ -24,7 +24,7 @@ export const RegisterFields = ({username, setUsername, email, setEmail, password
|
||||
onClick={() => setPasswordShown(!passwordShown)}>
|
||||
<IconButton>{passwordShown ? <VisibilityOff/> : <Visibility/>}</IconButton>
|
||||
</InputAdornment>
|
||||
}} type={passwordShown ? "text" : "password"} autoComplete="current-password"
|
||||
}} type={passwordShown ? "text" : "password"} autoComplete="new-password"
|
||||
error={fieldError === "password"} value={password} onChange={(e) => setPassword(e.target.value)}/>
|
||||
</>
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user