Fix SearchableChainDropdown error when no chain is selected

pull/5295/head^2
Manuel Wedler 2 months ago committed by Aniket
parent 397be8d66a
commit e293ad95f7
  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