From c1f8b8e347a49376eddc98405bc02255fc7ee228 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 25 Jun 2026 17:36:31 -0700 Subject: Already-claimed: move 'Create a wallet anyway' above the explorer link Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/app.js b/src/app.js index 02397f6..1114820 100644 --- a/src/app.js +++ b/src/app.js @@ -1584,14 +1584,14 @@ function claimScreen() { h('div', { class: 'card col', style: 'align-items:center;text-align:center;gap:12px' }, h('div', { style: 'font-size:56px;line-height:1' }, '🎁'), h('h2', { style: 'margin:0' }, t('giftTakenTitle')), - h('p', { class: 'muted', style: 'margin:0' }, t('giftTakenBody')), - ui.claimTaken.txid - ? h('a', { class: 'btn btn-sm', href: wallet.api.explorerTx(ui.claimTaken.txid), target: '_blank', rel: 'noopener' }, t('viewOnMempool')) - : null + h('p', { class: 'muted', style: 'margin:0' }, t('giftTakenBody')) ), // A fresh wallet was already generated for the claim — offer to keep it, - // or head back to the home screen. + // view the claim on a block explorer, or head back to the home screen. h('button', { class: 'btn-primary btn-block', onClick: () => { ui.claimTaken = null; ui.claimedAmount = 0; ui.claimStep = 'backup'; commitAccount(); render(); } }, t('createWalletAnyway')), + ui.claimTaken.txid + ? h('a', { class: 'btn btn-block', href: wallet.api.explorerTx(ui.claimTaken.txid), target: '_blank', rel: 'noopener' }, t('viewOnMempool')) + : null, h('button', { class: 'btn-ghost btn-block', onClick: goHome }, t('goToHome')) ); } -- cgit v1.2.3