From 3baf07f4a3885a55c42d85157c0698e6034683e1 Mon Sep 17 00:00:00 2001 From: dafuga Date: Fri, 15 Sep 2023 11:12:37 -0700 Subject: [PATCH] style: linted --- src/anchor.ts | 1 - src/index.ts | 11 +++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/anchor.ts b/src/anchor.ts index 9afd4b2..a2267d4 100644 --- a/src/anchor.ts +++ b/src/anchor.ts @@ -9,7 +9,6 @@ import { LoginContext, PrivateKey, PublicKey, - ResolvedSigningRequest, Serializer, SigningRequest, UInt64, diff --git a/src/index.ts b/src/index.ts index 97baab1..c5e10ff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -225,8 +225,11 @@ export class WalletPluginAnchor extends AbstractWalletPlugin { const signManually = () => { context.ui?.prompt({ - title: t('transact.sign_manually.title', { default: 'Sign manually' }), - body: t('transact.sign_manually.body', { default: 'Scan the QR-code with Anchor on another device or use the button to open it here.' }), + title: t('transact.sign_manually.title', {default: 'Sign manually'}), + body: t('transact.sign_manually.body', { + default: + 'Scan the QR-code with Anchor on another device or use the button to open it here.', + }), elements: [ { type: 'qr', @@ -234,10 +237,10 @@ export class WalletPluginAnchor extends AbstractWalletPlugin { }, { type: 'link', - label: t('transact.sign_manually.link.title', { default: 'Open Anchor' }), + label: t('transact.sign_manually.link.title', {default: 'Open Anchor'}), data: { href: String(request), - label: t('transact.sign_manually.link.title', { default: 'Open Anchor' }), + label: t('transact.sign_manually.link.title', {default: 'Open Anchor'}), }, }, ],