pull/21833/head
David Baker 2018-11-20 16:20:31 +00:00
parent 132408cf02
commit 63a7ff5273
2 changed files with 14 additions and 4 deletions

View File

@ -17,7 +17,6 @@ limitations under the License.
import React from 'react';
import sdk from '../../../../index';
import MatrixClientPeg from '../../../../MatrixClientPeg';
import Promise from 'bluebird';
import { _t, _td } from '../../../../languageHandler';
@ -196,7 +195,13 @@ export default React.createClass({
"<button>opt out</button>.",
{},
{
button: sub => <AccessibleButton element="span" className="mx_linkButton" onClick={this._onOptOutClick}>{sub}</AccessibleButton>,
button: sub => <AccessibleButton
element="span"
className="mx_linkButton"
onClick={this._onOptOutClick}
>
{sub}
</AccessibleButton>,
},
)}</p>
<p>{_t(
@ -204,7 +209,13 @@ export default React.createClass({
"<button>download a recovery key</button>.",
{},
{
button: sub => <AccessibleButton element="span" className="mx_linkButton" onClick={this._onSkipPassPhraseClick}>{sub}</AccessibleButton>,
button: sub => <AccessibleButton
element="span"
className="mx_linkButton"
onClick={this._onSkipPassPhraseClick}
>
{sub}
</AccessibleButton>,
},
)}</p>
</div>;

View File

@ -36,7 +36,6 @@ export default React.createClass({
recoveryKeyValid: false,
forceRecoveryKey: false,
passPhrase: '',
recoveryKey: '',
};
},