Appease the linter

This commit is contained in:
Travis Ralston 2020-03-30 20:24:53 -06:00
parent 8bc86deaaa
commit d899576578
2 changed files with 5 additions and 3 deletions

View file

@ -193,7 +193,8 @@ export default class AddThreepid {
const dialogAesthetics = { const dialogAesthetics = {
[SSOAuthEntry.PHASE_PREAUTH]: { [SSOAuthEntry.PHASE_PREAUTH]: {
title: _t("Use Single Sign On to continue"), title: _t("Use Single Sign On to continue"),
body: _t("Confirm adding this email address by using Single Sign On to prove your identity."), body: _t("Confirm adding this email address by using " +
"Single Sign On to prove your identity."),
continueText: _t("Single Sign On"), continueText: _t("Single Sign On"),
continueKind: "primary", continueKind: "primary",
}, },
@ -308,7 +309,8 @@ export default class AddThreepid {
const dialogAesthetics = { const dialogAesthetics = {
[SSOAuthEntry.PHASE_PREAUTH]: { [SSOAuthEntry.PHASE_PREAUTH]: {
title: _t("Use Single Sign On to continue"), title: _t("Use Single Sign On to continue"),
body: _t("Confirm adding this phone number by using Single Sign On to prove your identity."), body: _t("Confirm adding this phone number by using " +
"Single Sign On to prove your identity."),
continueText: _t("Single Sign On"), continueText: _t("Single Sign On"),
continueKind: "primary", continueKind: "primary",
}, },

View file

@ -651,7 +651,7 @@ export class SSOAuthEntry extends React.Component {
this.props.submitAuthDict({}); this.props.submitAuthDict({});
}; };
render () { render() {
let continueButton = null; let continueButton = null;
const cancelButton = ( const cancelButton = (
<AccessibleButton <AccessibleButton