From bede5f44a1af1e38e1466385cee99e4ec8fdf319 Mon Sep 17 00:00:00 2001 From: Alejandro Gomez Date: Fri, 7 Jul 2023 08:37:00 +0200 Subject: [PATCH] fix: 100k sats --- src/element/live-chat.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/element/live-chat.tsx b/src/element/live-chat.tsx index 4505638..5e1fe81 100644 --- a/src/element/live-chat.tsx +++ b/src/element/live-chat.tsx @@ -151,11 +151,13 @@ export function LiveChat({ ); } +const BIG_ZAP_THRESHOLD = 100_000; + function ChatZap({ zap }: { zap: ParsedZap }) { if (!zap.valid) { return null; } - const isBig = zap.amount >= 10_000; + const isBig = zap.amount >= BIG_ZAP_THRESHOLD; return (