aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/gifts.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/gifts.js')
-rw-r--r--src/features/gifts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/gifts.js b/src/features/gifts.js
index 3b094d1..a73bfe9 100644
--- a/src/features/gifts.js
+++ b/src/features/gifts.js
@@ -739,7 +739,7 @@ export function giftsFeature(ctx) {
const created = (wallet.loaded && (wallet.giftRecords()[g.id] || {}).created) || g.created;
const rec = g.claimed ? null : wallet.giftLink(g.id);
const line = (k, v) => h('div', { class: 'line' }, h('span', { class: 'k' }, k), h('span', { class: 'v' }, v));
- const back = () => { ui.giftDetail = null; ui.revokeId = null; render(); };
+ const back = () => { ui.revokeId = null; ctx.goBack(() => { ui.giftDetail = null; }); };
return h(
'div',
{ class: 'card col' },