!isWinner
This commit is contained in:
parent
3208dc69b7
commit
e9e1f1d982
@ -33,10 +33,11 @@ function Auction ({ auctionInfo, campaigns, className, winningData }: Props): Re
|
||||
asIs
|
||||
? winners
|
||||
: winners.map((w): WinnerData =>
|
||||
campaigns.funds?.find(({ firstSlot, lastSlot, value }) =>
|
||||
campaigns.funds?.find(({ firstSlot, isWinner, lastSlot, value }) =>
|
||||
w.firstSlot.eq(firstSlot) &&
|
||||
w.lastSlot.eq(lastSlot) &&
|
||||
w.value.lt(value)
|
||||
w.value.lt(value) &&
|
||||
!isWinner
|
||||
) || w
|
||||
),
|
||||
[campaigns]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user