Skip to content

Commit

Permalink
type of networkConfigurations is an object
Browse files Browse the repository at this point in the history
  • Loading branch information
zone-live committed Jul 21, 2023
1 parent 45e94d5 commit bac20ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/scripts/controllers/mmi-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ export default class MMIController extends EventEmitter {
this.custodyController.getAccountDetails(address);
const extensionId = this.extension.runtime.id;

const { networkConfigurations } = this.networkController.state;
const { networkConfigurations: networkConfigurationsById } = this.networkController.state;
const networkConfigurations = Object.values(networkConfigurationsById);

const networks = [
...networkConfigurations,
Expand Down

0 comments on commit bac20ac

Please sign in to comment.