mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
fixed error message on login form
This commit is contained in:
parent
955b5927ca
commit
3814a56fdb
1 changed files with 3 additions and 2 deletions
|
@ -82,7 +82,8 @@ const LoginDialogUnconnected: FC<IProps> = ({
|
|||
|
||||
useEffect(() => {
|
||||
if (error) userSetLoginError('');
|
||||
}, [username, password, error, userSetLoginError]);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [username, password]);
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener('message', onMessage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue