forked from Kieran/void.cat
Fix login
This commit is contained in:
parent
1a99170b28
commit
a50a95804a
@ -12,7 +12,7 @@ export function Login() {
|
|||||||
const [password, setPassword] = useState();
|
const [password, setPassword] = useState();
|
||||||
const [error, setError] = useState();
|
const [error, setError] = useState();
|
||||||
const [captchaResponse, setCaptchaResponse] = useState();
|
const [captchaResponse, setCaptchaResponse] = useState();
|
||||||
const captchaKey = useSelector(state => state.info.stats?.captchaSiteKey);
|
const captchaKey = useSelector(state => state.info.info?.captchaSiteKey);
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
async function login(fnLogin) {
|
async function login(fnLogin) {
|
||||||
|
Loading…
Reference in New Issue
Block a user