fix: 100k sats

This commit is contained in:
Alejandro Gomez 2023-07-07 08:37:00 +02:00
parent 3309ad56c8
commit bede5f44a1
No known key found for this signature in database
GPG Key ID: 4DF39E566658C817

View File

@ -151,11 +151,13 @@ export function LiveChat({
); );
} }
const BIG_ZAP_THRESHOLD = 100_000;
function ChatZap({ zap }: { zap: ParsedZap }) { function ChatZap({ zap }: { zap: ParsedZap }) {
if (!zap.valid) { if (!zap.valid) {
return null; return null;
} }
const isBig = zap.amount >= 10_000; const isBig = zap.amount >= BIG_ZAP_THRESHOLD;
return ( return (
<div className={`zap-container ${isBig ? "big-zap" : ""}`}> <div className={`zap-container ${isBig ? "big-zap" : ""}`}>