From 4ecd635ad3a04d8be9d64a9bdfc400924c9485cb Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Mon, 29 May 2023 13:07:43 +0530 Subject: [PATCH] do not show chainid for VM --- apps/etherscan/src/app/views/VerifyView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index a4de2e77a3..f87f910627 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -38,7 +38,7 @@ export const VerifyView: React.FC = ({ useEffect(() => { if (client && client.on) { client.on("blockchain" as any, 'networkStatus', (result) => { - setNetworkName(`${result.network.name} ${result.network.id !== ' - ' ? `(Chain id: ${result.network.id})` : ''}`) + setNetworkName(`${result.network.name} ${result.network.id !== '-' ? `(Chain id: ${result.network.id})` : ''}`) }) } return () => {