mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-03-26 17:52:18 +01:00
fix bug with badge awards blocking timeline
This commit is contained in:
parent
199f208b11
commit
d5c0f55bf0
@ -17,7 +17,7 @@ export default function BadgeAwardCard({ award, showImage = true }: { award: Nos
|
||||
|
||||
// if there is a parent intersection observer, register this card
|
||||
const ref = useRef<HTMLDivElement | null>(null);
|
||||
useRegisterIntersectionEntity(ref, badge && getEventUID(badge));
|
||||
useRegisterIntersectionEntity(ref, getEventUID(award));
|
||||
|
||||
if (!badge) return null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user