Update components/chainSelect/ChainSelect.js
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
This commit is contained in:
parent
3bb31d4d71
commit
69fc8d7606
@ -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" && item.name != "testnets";
|
||||
return item.type == "dir" && !item.name.startsWith(".") && item.name != "testnets";
|
||||
});
|
||||
setChainArray(chains);
|
||||
const options = chains.map(({ name }, index) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user