Skip to content

Commit

Permalink
chore: comment out network switch
Browse files Browse the repository at this point in the history
  • Loading branch information
iluxonchik committed Sep 17, 2024
1 parent 3bb4f5c commit 6d38c41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NetworkSwitch.astro
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
getCurrentNetwork();

// Add event listener for network changes
window.mina?.on("chainChanged", (chainInfo) => {
networkSpan.textContent = `Network changed to: ${chainInfo.networkID}`;
});
//window.mina?.on("chainChanged", (chainInfo) => {
// networkSpan.textContent = `Network changed to: ${chainInfo.networkID}`;
// });

switchButton.addEventListener("click", switchNetwork);
</script>

0 comments on commit 6d38c41

Please sign in to comment.