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; secretStorageBeingAccessed = true;
try { try {
if (!await cli.hasSecretStorageKey() || force) { if (!await cli.hasSecretStorageKey() || force) {
console.warn(!force ? "!hasSecretStorageKey()" : "force");
// This dialog calls bootstrap itself after guiding the user through // This dialog calls bootstrap itself after guiding the user through
// passphrase creation. // passphrase creation.
const { finished } = Modal.createTrackedDialogAsync('Create Secret Storage dialog', '', 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'); const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
return ( return (
<BaseDialog className='mx_ConfirmDestroyCrossSigningDialog' hasCancel={true} <BaseDialog
onFinished={this.props.onFinished} className='mx_ConfirmDestroyCrossSigningDialog'
title={_t("Destroy cross-signing keys?")}> hasCancel={true}
onFinished={this.props.onFinished}
title={_t("Destroy cross-signing keys?")}>
<div className='mx_ConfirmDestroyCrossSigningDialog_content'> <div className='mx_ConfirmDestroyCrossSigningDialog_content'>
<p> <p>
{_t( {_t(