aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-21 14:58:13 -0700
committerAdam Soltys <[email protected]>2026-09-21 14:58:13 -0700
commit5b3344d4987da57e2235b8c61e53b537db1a83ab (patch)
tree2fdd50c3fd37f3eef4feb78878b309d3f345e06e /src
parent5603cc9c0d75690678cdb182d5c3e41962c1180b (diff)
downloadcoinosv3-5b3344d4987da57e2235b8c61e53b537db1a83ab.tar.gz
coinosv3-5b3344d4987da57e2235b8c61e53b537db1a83ab.zip
Spending coins: the unilateral exit section sits below renewal.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src')
-rw-r--r--src/features/ark.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index 96abcb1..486c7a8 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -2200,11 +2200,6 @@ export function arkFeature(ctx) {
h('td', { class: 'num' }, renewChip(f)));
}))))),
h('div', { class: 'card col', style: 'gap:8px' },
- h('h4', { style: 'margin:0' }, t('arkCoinsExitTitle')),
- h('p', { class: 'small muted', style: 'margin:0' },
- t('arkCoinsExitDesc', { fee: fmtSats(exitFee), after: fmtSats(afterFee) })),
- h('button', { class: 'btn-ghost btn-block', disabled: !!ui.arkBusy || !spend.length, onClick: () => { ui.arkExitConfirm = true; render(); } }, t('arkCoinsExitBtn'))),
- h('div', { class: 'card col', style: 'gap:8px' },
h('h4', { style: 'margin:0' }, t('arkCoinsRenewTitle')),
// the round cadence comes from the server (it has been an hour and
// is two minutes as of September 2026) — never a number baked in here
@@ -2218,6 +2213,11 @@ export function arkFeature(ctx) {
: selCoins.length < spend.length
? t('arkCoinsRenewSome', { n: selCoins.length, fee: selFee > 0 ? fmtSats(selFee) + ' sats' : t('arkDepthFree') })
: selFee > 0 ? t('arkCoinsRenewNowFee', { fee: fmtSats(selFee) + ' sats' }) : t('arkDepthRenewBtn'))),
+ h('div', { class: 'card col', style: 'gap:8px' },
+ h('h4', { style: 'margin:0' }, t('arkCoinsExitTitle')),
+ h('p', { class: 'small muted', style: 'margin:0' },
+ t('arkCoinsExitDesc', { fee: fmtSats(exitFee), after: fmtSats(afterFee) })),
+ h('button', { class: 'btn-ghost btn-block', disabled: !!ui.arkBusy || !spend.length, onClick: () => { ui.arkExitConfirm = true; render(); } }, t('arkCoinsExitBtn'))),
h('button', { class: 'btn-ghost btn-block', onClick: back }, t('back')));
}