fix bug with badge awards blocking timeline

This commit is contained in:
hzrd149 2023-12-02 12:35:54 -06:00
parent 199f208b11
commit d5c0f55bf0

View File

@ -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;