mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
fixed error handling
This commit is contained in:
parent
988a069d57
commit
b45ecadd20
3 changed files with 44 additions and 35 deletions
|
@ -35,7 +35,7 @@ const LoginDialogUnconnected: FC<IProps> = ({
|
|||
|
||||
useEffect(() => {
|
||||
if (error) userSetLoginError(null);
|
||||
}, [username, password, error, userSetLoginError]);
|
||||
}, [username, password]);
|
||||
|
||||
const buttons = (
|
||||
<Padder>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue