Skip to content

Commit

Permalink
chore: add network by url (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight authored Oct 15, 2024
1 parent 46000eb commit 9d5e004
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function NetworkDialog({

function handleSwitch() {
if (networks[0].chainId == null) return;
selectNetwork({ chainId: networks[0].chainId });
selectNetwork({ chainId: networks[0].chainId, url: networks[0].url });
}

function handleDisconnect() {
Expand Down

0 comments on commit 9d5e004

Please sign in to comment.