manual lint

This commit is contained in:
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,7 +37,9 @@ export default class ConfirmDestroyCrossSigningDialog extends React.Component {
const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
return (
<BaseDialog className='mx_ConfirmDestroyCrossSigningDialog' hasCancel={true}
<BaseDialog
className='mx_ConfirmDestroyCrossSigningDialog'
hasCancel={true}
onFinished={this.props.onFinished}
title={_t("Destroy cross-signing keys?")}>
<div className='mx_ConfirmDestroyCrossSigningDialog_content'>