From 6d38c410febec0cf39327b5eae53e82a69a9ea47 Mon Sep 17 00:00:00 2001 From: Illya Gerasymchuk Date: Tue, 17 Sep 2024 22:05:38 +0100 Subject: [PATCH] chore: comment out network switch --- src/components/NetworkSwitch.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/NetworkSwitch.astro b/src/components/NetworkSwitch.astro index 1da0176..80eee53 100644 --- a/src/components/NetworkSwitch.astro +++ b/src/components/NetworkSwitch.astro @@ -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);