diff --git a/src/views/badges/components/badge-award-card.tsx b/src/views/badges/components/badge-award-card.tsx index 316b281a4..8fdf86f2b 100644 --- a/src/views/badges/components/badge-award-card.tsx +++ b/src/views/badges/components/badge-award-card.tsx @@ -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(null); - useRegisterIntersectionEntity(ref, badge && getEventUID(badge)); + useRegisterIntersectionEntity(ref, getEventUID(award)); if (!badge) return null;