From 928e9b96e2b6a40ba3b0c50f4f200ee937c9b0d3 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Fri, 14 Oct 2022 11:47:14 -0230 Subject: [PATCH] Sort add network list alphabetically (#16089) Co-authored-by: ryanml --- ui/components/app/add-network/add-network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/app/add-network/add-network.js b/ui/components/app/add-network/add-network.js index c6d5fe06e..b4ab5f448 100644 --- a/ui/components/app/add-network/add-network.js +++ b/ui/components/app/add-network/add-network.js @@ -49,7 +49,7 @@ const AddNetwork = () => { const infuraRegex = /infura.io/u; const nets = FEATURED_RPCS.sort((a, b) => - a.ticker > b.ticker ? 1 : -1, + a.nickname > b.nickname ? 1 : -1, ).slice(0, FEATURED_RPCS.length); const notFrequentRpcNetworks = nets.filter(