Skip to content

Commit

Permalink
fix bug with badge awards blocking timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Dec 2, 2023
1 parent 199f208 commit d5c0f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/badges/components/badge-award-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d5c0f55

Please sign in to comment.