Skip to content

Commit

Permalink
fix: fix test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
salimtb committed Oct 20, 2024
1 parent 9a72735 commit 36bccd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/UI/NetworkModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const NetworkModals = (props: NetworkProps) => {
}

if (networkClientId) {
NetworkController.setActiveNetwork(networkClientId);
await NetworkController.setActiveNetwork(networkClientId);
}

onClose();
Expand All @@ -271,7 +271,7 @@ const NetworkModals = (props: NetworkProps) => {
updatedNetwork?.rpcEndpoints?.[updatedNetwork.defaultRpcEndpointIndex] ??
{};

NetworkController.setActiveNetwork(networkClientId);
await NetworkController.setActiveNetwork(networkClientId);
};

const handleNewNetwork = async (
Expand Down

0 comments on commit 36bccd0

Please sign in to comment.