forked from Kieran/zap.stream
fix: 100k sats
This commit is contained in:
parent
3309ad56c8
commit
bede5f44a1
@ -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 (
|
||||
<div className={`zap-container ${isBig ? "big-zap" : ""}`}>
|
||||
|
Loading…
Reference in New Issue
Block a user