From b1d6bf058e1e46a738f466d3ce519630410d0b88 Mon Sep 17 00:00:00 2001 From: keyan Date: Tue, 12 Sep 2023 14:37:13 -0500 Subject: [PATCH] make balance hiding work on mobile using pointer events --- components/hidden-wallet-summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/hidden-wallet-summary.js b/components/hidden-wallet-summary.js index d769aee5..4001c01c 100644 --- a/components/hidden-wallet-summary.js +++ b/components/hidden-wallet-summary.js @@ -14,7 +14,7 @@ export default function HiddenWalletSummary ({ abbreviate, fixedWidth }) { }, []) return ( - setHover(true)} onMouseLeave={() => setHover(false)}> + setHover(true)} onPointerLeave={() => setHover(false)}> {hover ? (abbreviate ? abbrNum(me.sats) : numWithUnits(me.sats, { abbreviate: false })) : '*****'} )