mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
login with enter key
This commit is contained in:
parent
7f6056baf4
commit
79c71f86b8
@ -43,6 +43,9 @@ const LoginComponent = ({ credentials, onChange, onLogin }) => {
|
||||
className={classes.field}
|
||||
onChange={onChange("password")}
|
||||
value={credentials.password}
|
||||
onKeyDown={e => {
|
||||
if (e.key === "Enter") onLogin();
|
||||
}}
|
||||
/>
|
||||
</CardContent>
|
||||
<CardActions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user