fix conditional in vote page
This commit is contained in:
parent
5fe9491f86
commit
52b75b5c19
|
|
@ -74,8 +74,7 @@ const ParticipantsList = ({ vote_id, all }: IParams) => {
|
|||
setVoteStatus(res.data.status);
|
||||
setSmsNumber(res.data.sms_number);
|
||||
});
|
||||
}
|
||||
{
|
||||
} else {
|
||||
router.push("/vote/active");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue