update featured

This commit is contained in:
liangping 2023-12-24 07:39:00 +08:00
parent a5eb20d979
commit b22b13ae3f

View File

@ -26,7 +26,7 @@ const chains = computed(() => {
}); });
const featured = computed(() => { const featured = computed(() => {
const names = ["cosmos", "osmosis", "akash", "celestia", "evmos", "injective", "dydx", "irisnet"]; const names = ["cosmos", "osmosis", "akash", "celestia", "evmos", "injective", "dydx", "noble"];
return chains.value return chains.value
.filter(x => names.includes(x.chainName)) .filter(x => names.includes(x.chainName))
.sort((a, b)=> (names.indexOf(a.chainName) - names.indexOf(b.chainName))) .sort((a, b)=> (names.indexOf(a.chainName) - names.indexOf(b.chainName)))