Fix SearchableChainDropdown error when no chain is selected

pull/5370/head
Manuel Wedler 2 months ago committed by Aniket
parent 5d48795777
commit 1bdc1c22e3
  1. 1
      apps/contract-verification/src/app/components/SearchableChainDropdown.tsx

@ -4,6 +4,7 @@ import type { Chain } from '../types'
import { AppContext } from '../AppContext'
function getChainDescriptor(chain: Chain): string {
if (!chain) return ''
return `${chain.title || chain.name} (${chain.chainId})`
}

Loading…
Cancel
Save