mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Sort add network list alphabetically (#16089)
Co-authored-by: ryanml <ryanlanese@gmail.com>
This commit is contained in:
parent
6ba9f65b4c
commit
928e9b96e2
@ -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…
Reference in New Issue
Block a user