removed unused callback dep

This commit is contained in:
Roman 2023-01-17 21:13:47 +01:00
parent f9ecf795c2
commit 327f570316

@ -185,7 +185,7 @@ export default function LoginForm(props) {
}).catch(e => { }).catch(e => {
set2FAToken({ ...tfaToken, step: 2, error: e.toString() }); set2FAToken({ ...tfaToken, step: 2, error: e.toString() });
}); });
}, [api.loggedIn, tfaToken, props.onLogin, props.onKey2FA, abortSignal]); }, [api.loggedIn, tfaToken, props.onLogin, abortSignal]);
const createForm = () => { const createForm = () => {