fix conditional in vote page

This commit is contained in:
Ilgeldi 2025-03-28 22:40:28 +05:00
parent 5fe9491f86
commit 52b75b5c19
1 changed files with 1 additions and 2 deletions

View File

@ -74,8 +74,7 @@ const ParticipantsList = ({ vote_id, all }: IParams) => {
setVoteStatus(res.data.status); setVoteStatus(res.data.status);
setSmsNumber(res.data.sms_number); setSmsNumber(res.data.sms_number);
}); });
} } else {
{
router.push("/vote/active"); router.push("/vote/active");
} }