Significance: patch Type: fix Added useRef to ensure confetti animation is only run once