Explorers section: bring hashes to lower case in the url (#2481)

This commit is contained in:
Igor Stuev
2024-12-23 21:49:36 +01:00
committed by GitHub
parent 7923538c6f
commit bfb90e51b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ const AddressPageContent = () => {
<SolidityscanReport hash={ hash }/> }
{ !isLoading && addressEnsDomainsQuery.data && config.features.nameService.isEnabled &&
<AddressEnsDomains query={ addressEnsDomainsQuery } addressHash={ hash } mainDomainName={ addressQuery.data?.ens_domain_name }/> }
<NetworkExplorers type="address" pathParam={ hash }/>
<NetworkExplorers type="address" pathParam={ hash.toLowerCase() }/>
</Flex>
);
+1 -1
View File
@@ -135,7 +135,7 @@ const TokenPageTitle = ({ tokenQuery, addressQuery, hash }: Props) => {
<AccountActionsMenu isLoading={ isLoading }/>
<Flex ml={{ base: 0, lg: 'auto' }} columnGap={ 2 } flexGrow={{ base: 1, lg: 0 }}>
<TokenVerifiedInfo verifiedInfoQuery={ verifiedInfoQuery }/>
<NetworkExplorers type="token" pathParam={ addressHash } ml={{ base: 'auto', lg: 0 }}/>
<NetworkExplorers type="token" pathParam={ addressHash.toLowerCase() } ml={{ base: 'auto', lg: 0 }}/>
</Flex>
</Flex>
);