mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Sort add network list alphabetically (#16089)
Co-authored-by: ryanml <ryanlanese@gmail.com>
This commit is contained in:
parent
e7749470ae
commit
ebf1ab2c9d
@ -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