Skip to content

Commit de626da

Browse files
committed
Require at least 1 rejection
1 parent f9b7470 commit de626da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/explore/CandidatesPage/components/CandidatesList.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const CandidatesList = ({ api, activeAccount, candidates, handleUpdate }: Candid
5757
const isMember = level === 'cyborg'
5858
const isDroppable = (candidate: SocietyCandidate) => {
5959
return (
60-
candidate.tally.rejections.toNumber() >= candidate.tally.approvals.toNumber() * 2 &&
60+
candidate.tally.rejections.toNumber() >= Math.max(candidate.tally.approvals.toNumber() * 2, 1) &&
6161
roundCount > Number(candidate.round) + 1
6262
)
6363
}

0 commit comments

Comments
 (0)