mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
manual lint
This commit is contained in:
parent
b08c5d8410
commit
a260d7a147
@ -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', '',
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user