Merge pull request #42 from cosmos/nooomski/filter-testnets
Filter out testnets
This commit is contained in:
@@ -58,7 +58,7 @@ const ChainSelect = () => {
|
||||
try {
|
||||
const res = await axios.get(url);
|
||||
const chains = res.data.filter((item) => {
|
||||
return item.type == "dir" && item.name != ".github";
|
||||
return item.type == "dir" && !item.name.startsWith(".") && item.name != "testnets";
|
||||
});
|
||||
setChainArray(chains);
|
||||
const options = chains.map(({ name }, index) => {
|
||||
|
||||
Reference in New Issue
Block a user