fix(markets,explorer): fallback to ethereum mainnet chain Id if sourceChain is not provided (#6014)
This commit is contained in:
parent
be8de04686
commit
d9292b9be2
@ -917,7 +917,7 @@ export const EthOraclePanel = ({ sourceType }: { sourceType: EthCallSpec }) => {
|
||||
>
|
||||
{t('View on {{chainLabel}}', {
|
||||
chainLabel: getExternalChainLabel(
|
||||
sourceType.sourceChainId.toString()
|
||||
(sourceType.sourceChainId || 1).toString()
|
||||
),
|
||||
})}
|
||||
</EtherscanLink>
|
||||
|
Loading…
Reference in New Issue
Block a user