Skip to content

Commit 14d44b0

Browse files
committed
show mexc inflows
1 parent 57a7b8f commit 14d44b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/pages/cexs/index.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ export const getStaticProps = withPerformanceLogging('cexs/index', async () => {
1111

1212
return {
1313
props: {
14-
cexs:
15-
data.cexs
16-
.map((cex) => (cex.name === 'MEXC' ? { ...cex, inflows_24h: null, inflows_1w: null, inflows_1m: null } : cex))
17-
.sort((a, b) => b.cleanAssetsTvl - a.cleanAssetsTvl) ?? []
14+
cexs: data.cexs.sort((a, b) => b.cleanAssetsTvl - a.cleanAssetsTvl) ?? []
1815
},
1916
revalidate: maxAgeForNext([22])
2017
}

0 commit comments

Comments
 (0)