diff --git a/components/vote/ParticipantsList.tsx b/components/vote/ParticipantsList.tsx index d8ce53e..cdec7a8 100644 --- a/components/vote/ParticipantsList.tsx +++ b/components/vote/ParticipantsList.tsx @@ -74,8 +74,7 @@ const ParticipantsList = ({ vote_id, all }: IParams) => { setVoteStatus(res.data.status); setSmsNumber(res.data.sms_number); }); - } - { + } else { router.push("/vote/active"); }