From 76c4b2d3fe6f6d9b75d9b4bce04f5750ca520b2f Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Wed, 5 Oct 2022 11:03:30 -0230 Subject: [PATCH] Sort add network list alphabetically --- 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 c6d5fe06e497..b4ab5f448d47 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(