- {Object.keys(clientContext.networks).map((network) => {
- const networkConfig = clientContext.networks[
- network
- ] as NetworkConfiguration;
- return (
-
- handleNetworkChange(networkConfig)}
- />
-
- );
- })}
+ {Object.values(networks).map((network) => (
+
+ handleNetworkChange(network)}
+ />
+
+ ))}