diff --git a/frontend/src/App.js b/frontend/src/App.js index 28ca6b8..452b10c 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -2448,25 +2448,20 @@ function App() { { - setPassword(e.target.value); - setAuthError(''); - }} - error={!!authError} - helperText={authError} - className={classes.authInput} - onKeyPress={(e) => { - if (e.key === 'Enter' && password) { + onChange={(e) => setPassword(e.target.value)} + onKeyDown={(e) => { + if (e.key === 'Enter') { handleAuthentication(); } }} + className={classes.authInput} + label="Password" + variant="outlined" + fullWidth + autoFocus />