manual lint

pull/21833/head
Zoe 2020-02-07 15:53:43 +00:00
parent b08c5d8410
commit a260d7a147
2 changed files with 5 additions and 4 deletions

View File

@ -122,7 +122,6 @@ export async function accessSecretStorage(func = async () => { }, force = false)
secretStorageBeingAccessed = true;
try {
if (!await cli.hasSecretStorageKey() || force) {
console.warn(!force ? "!hasSecretStorageKey()" : "force");
// This dialog calls bootstrap itself after guiding the user through
// passphrase creation.
const { finished } = Modal.createTrackedDialogAsync('Create Secret Storage dialog', '',

View File

@ -37,9 +37,11 @@ export default class ConfirmDestroyCrossSigningDialog extends React.Component {
const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
return (
<BaseDialog className='mx_ConfirmDestroyCrossSigningDialog' hasCancel={true}
onFinished={this.props.onFinished}
title={_t("Destroy cross-signing keys?")}>
<BaseDialog
className='mx_ConfirmDestroyCrossSigningDialog'
hasCancel={true}
onFinished={this.props.onFinished}
title={_t("Destroy cross-signing keys?")}>
<div className='mx_ConfirmDestroyCrossSigningDialog_content'>
<p>
{_t(