aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-25 17:36:31 -0700
committerAdam Soltys <[email protected]>2026-06-25 17:36:31 -0700
commitc1f8b8e347a49376eddc98405bc02255fc7ee228 (patch)
treeb50d169b7244045981246991743c23a17c89b84c
parentfd620b95123e65f2c3289d703e2f9a269b734a4e (diff)
downloadcoinosv3-c1f8b8e347a49376eddc98405bc02255fc7ee228.tar.gz
coinosv3-c1f8b8e347a49376eddc98405bc02255fc7ee228.zip
Already-claimed: move 'Create a wallet anyway' above the explorer link
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
-rw-r--r--src/app.js10
1 files changed, 5 insertions, 5 deletions
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'))
);
}