Secondary sales flickering (#202)
* Resales tab added * updated review changes * secondary sales flickering updated Co-authored-by: Jordan Prince <jordanmprince@gmail.com>
This commit is contained in:
parent
397ceff70b
commit
d2e0547296
|
@ -57,7 +57,9 @@ export const HomeView = () => {
|
|||
if (flag == 1) return true; else return false;
|
||||
};
|
||||
|
||||
const resaleAuctions = auctions.filter(m => checkPrimarySale(m) == true);
|
||||
const resaleAuctions = auctions
|
||||
.sort((a, b) => a.auction.info.endedAt?.sub(b.auction.info.endedAt || new BN(0)).toNumber() || 0)
|
||||
.filter(m => checkPrimarySale(m) == true);
|
||||
|
||||
// Removed resales from live auctions
|
||||
const liveAuctions = auctions
|
||||
|
@ -242,4 +244,4 @@ export const HomeView = () => {
|
|||
</Layout>
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue