Sort add network list alphabetically (#16089)

Co-authored-by: ryanml <ryanlanese@gmail.com>
feature/default_network_editable
Dan J Miller 2 years ago committed by GitHub
parent 6ba9f65b4c
commit 928e9b96e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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(

Loading…
Cancel
Save