aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/ark.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/ark.js')
-rw-r--r--src/features/ark.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index 140eeb0..c3a8a8c 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -1118,7 +1118,7 @@ export function arkFeature(ctx) {
m.detail ? row(t('detailsLabel'), m.detail) : null,
// proof of payment: the preimage is what a merchant asks for
m.preimage ? row(t('preimageLabel'), shortTxid(m.preimage)) : null,
- m.preimage ? copyBtn(m.preimage, t('copyPreimage')) : null,
+ m.preimage ? h('button', { class: 'btn-block', onClick: () => ctx.copy(m.preimage) }, t('copyPreimage')) : null,
// A send that funded a bearer gift: show its fate, and while unclaimed
// offer the link again plus the sweep-back — same powers the gift card
// has, where the sender will actually go looking for them: history.