diff options
Diffstat (limited to 'src/features/gifts.js')
| -rw-r--r-- | src/features/gifts.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/features/gifts.js b/src/features/gifts.js index 30b8d5e..49b18db 100644 --- a/src/features/gifts.js +++ b/src/features/gifts.js @@ -185,14 +185,13 @@ export function giftsFeature(ctx) { } const GIFT_ANON_KEY = 'giftAnon'; const giftAnon = () => { try { return localStorage.getItem(GIFT_ANON_KEY) === '1'; } catch { return false; } }; - // who sent it, and that claiming follows them + // who sent it const giftFromView = () => (ui.claimFrom ? h('div', { class: 'col', style: 'align-items:center;gap:4px' }, h('div', { class: 'row gap6', style: 'align-items:center;justify-content:center' }, h('span', { class: 'small muted' }, t('giftFrom')), - hook('profileChip', ui.claimFrom, undefined, () => {}) - || h('span', { class: 'small mono' }, (npubOf(ui.claimFrom) || '').slice(0, 16) + '…')), - h('div', { class: 'small faint' }, t('giftClaimFollows'))) + hook('profileChip', ui.claimFrom, 'wait', () => {}) + || h('span', { class: 'small mono' }, (npubOf(ui.claimFrom) || '').slice(0, 16) + '…'))) : null); // the sender's words, quoted above the amount wherever the gift is opened const giftNoteView = () => (ui.claimNote |
