1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2019-10-07 12:46:14 +01:00
parent afaaa6774e
commit 495513028c

View File

@@ -195,7 +195,10 @@ export const RecaptchaAuthEntry = createReactClass({
const CaptchaForm = sdk.getComponent("views.auth.CaptchaForm");
let sitePublicKey;
if (!this.props.stageParams || !this.props.stageParams.public_key) {
errorText = _t("Missing captcha public key in homeserver configuration. Please report this to your homeserver administrator.");
errorText = _t(
"Missing captcha public key in homeserver configuration. Please report " +
"this to your homeserver administrator.",
);
} else {
sitePublicKey = this.props.stageParams.public_key;
}