diff --git a/components/vote/ParticipantCard.tsx b/components/vote/ParticipantCard.tsx index 4ff22a8..724fc02 100644 --- a/components/vote/ParticipantCard.tsx +++ b/components/vote/ParticipantCard.tsx @@ -1,6 +1,8 @@ 'use client'; + import Image from 'next/image'; import placeholder from '@/public/person placeholder.svg'; +import clsx from 'clsx'; interface IProps { number: number; @@ -13,6 +15,7 @@ interface IProps { isFirst: boolean; voteStatus: string; winner: boolean; + hasUrl: boolean; } const ParticipantCard = ({ @@ -22,6 +25,7 @@ const ParticipantCard = ({ votes, progress, voteCode, + hasUrl, isFirst, voteStatus, winner, @@ -30,31 +34,35 @@ const ParticipantCard = ({ return winner && votes !== 0 ? ( ////////////////////////////////////////////// Winner card -
- Ses bermek üçin{' '} + Ses bermek üçin {voteCode} @@ -116,27 +130,31 @@ const ParticipantCard = ({