We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e54712c commit 5ce4e40Copy full SHA for 5ce4e40
src/services/chain-service.ts
@@ -208,9 +208,9 @@ export class ChainService {
208
const chains = rawChains.map((rawChain): ListedChain => {
209
const chainId = eip155ChainIdToString(BigInt(rawChain.chainId));
210
const name = rawChain.title || rawChain.name;
211
- const explorer = rawChain.explorers?.find(
212
- explorer => explorer.standard === 'EIP3091',
213
- )?.url;
+ const explorer =
+ rawChain.explorers?.find(explorer => explorer.standard === 'EIP3091')
+ ?.url ?? rawChain.explorers?.[0]?.url;
214
215
return {
216
id: chainId,
0 commit comments