removed unused callback dep
This commit is contained in:
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 = () => {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user