Skip to content

Commit

Permalink
style: linted
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Sep 15, 2023
1 parent 1ce4aa3 commit 3baf07f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/anchor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
LoginContext,
PrivateKey,
PublicKey,
ResolvedSigningRequest,
Serializer,
SigningRequest,
UInt64,
Expand Down
11 changes: 7 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,19 +225,22 @@ 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',
data: String(request),
},
{
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'}),
},
},
],
Expand Down

0 comments on commit 3baf07f

Please sign in to comment.