Fix login

This commit is contained in:
Kieran 2022-08-29 10:55:48 +01:00
parent 1a99170b28
commit a50a95804a
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -12,7 +12,7 @@ export function Login() {
const [password, setPassword] = useState();
const [error, setError] = useState();
const [captchaResponse, setCaptchaResponse] = useState();
const captchaKey = useSelector(state => state.info.stats?.captchaSiteKey);
const captchaKey = useSelector(state => state.info.info?.captchaSiteKey);
const dispatch = useDispatch();
async function login(fnLogin) {