diff --git a/src/components/common/ResultCard/ResultCard.tsx b/src/components/common/ResultCard/ResultCard.tsx index 9f2f4b3..3695335 100644 --- a/src/components/common/ResultCard/ResultCard.tsx +++ b/src/components/common/ResultCard/ResultCard.tsx @@ -26,16 +26,13 @@ const ResultCard = (props: ResultCardProps) => { const { id: roomId } = useParams(); const handleLinkClick = (event: React.MouseEvent) => { - event.stopPropagation(); - window.open(props.link); - }; - - const handleClickResultCard = () => { ReactGA.event({ category: 'click', action: '1등_카드', label: '투표 결과 화면(1등)', }); + event.stopPropagation(); + window.open(props.link); }; const handleClickOverallRanking = () => { @@ -64,7 +61,7 @@ const ResultCard = (props: ResultCardProps) => { ); return ( - + {props.winnerNum === 1 ? oneWinner : multipleWinner}