do not show chainid for VM

pull/3744/head
Aniket-Engg 2 years ago committed by Aniket
parent 27985ebba1
commit 4ecd635ad3
  1. 2
      apps/etherscan/src/app/views/VerifyView.tsx

@ -38,7 +38,7 @@ export const VerifyView: React.FC<Props> = ({
useEffect(() => { useEffect(() => {
if (client && client.on) { if (client && client.on) {
client.on("blockchain" as any, 'networkStatus', (result) => { 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 () => { return () => {

Loading…
Cancel
Save