Skip to content

Commit

Permalink
Hide switchedNetworkDetails when on the same network
Browse files Browse the repository at this point in the history
  • Loading branch information
darkwing committed Mar 23, 2024
1 parent 0d2026c commit fffd8a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ async function startApp(metamaskState, backgroundConnection, opts) {
getOriginOfCurrentTab(state),
),
);
} else if (process.env.MULTICHAIN) {
await actions.setSwitchedNetworkDetails(null);
}

// global metamask api - used by tooling
Expand Down

0 comments on commit fffd8a0

Please sign in to comment.