mobile: fix password input not focused automatically on login

This commit is contained in:
Ammar Ahmed
2024-08-28 10:28:02 +05:00
parent ed115d3f9e
commit da86cbbe32

View File

@@ -83,7 +83,7 @@ export const useLogin = (onFinishLogin, sessionExpired = false) => {
setLoading(false);
setTimeout(() => {
passwordInputRef.current?.focus();
}, 1);
}, 500);
callback && callback(true);
}
callback && callback(false);