From 69fc8d7606690146288252070e6c5839e43bf64a Mon Sep 17 00:00:00 2001 From: Noam <81436914+nooomski@users.noreply.github.com> Date: Fri, 18 Feb 2022 15:04:10 +0000 Subject: [PATCH] Update components/chainSelect/ChainSelect.js Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> --- components/chainSelect/ChainSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/chainSelect/ChainSelect.js b/components/chainSelect/ChainSelect.js index 0c36c0d..372dbf7 100644 --- a/components/chainSelect/ChainSelect.js +++ b/components/chainSelect/ChainSelect.js @@ -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) => {