diff --git a/apps/contract-verification/src/app/components/SearchableChainDropdown.tsx b/apps/contract-verification/src/app/components/SearchableChainDropdown.tsx index c14d2a7621..c6f78c5f2f 100644 --- a/apps/contract-verification/src/app/components/SearchableChainDropdown.tsx +++ b/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})` }