Skip to content

Commit e5829cf

Browse files
isstuevtom2drum
authored andcommitted
Explorers section: bring hashes to lower case in the url (#2481)
1 parent f4b104b commit e5829cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/pages/Address.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ const AddressPageContent = () => {
406406
<SolidityscanReport hash={ hash }/> }
407407
{ !isLoading && addressEnsDomainsQuery.data && config.features.nameService.isEnabled &&
408408
<AddressEnsDomains query={ addressEnsDomainsQuery } addressHash={ hash } mainDomainName={ addressQuery.data?.ens_domain_name }/> }
409-
<NetworkExplorers type="address" pathParam={ hash }/>
409+
<NetworkExplorers type="address" pathParam={ hash.toLowerCase() }/>
410410
</Flex>
411411
);
412412

ui/token/TokenPageTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const TokenPageTitle = ({ tokenQuery, addressQuery, hash }: Props) => {
135135
<AccountActionsMenu isLoading={ isLoading }/>
136136
<Flex ml={{ base: 0, lg: 'auto' }} columnGap={ 2 } flexGrow={{ base: 1, lg: 0 }}>
137137
<TokenVerifiedInfo verifiedInfoQuery={ verifiedInfoQuery }/>
138-
<NetworkExplorers type="token" pathParam={ addressHash } ml={{ base: 'auto', lg: 0 }}/>
138+
<NetworkExplorers type="token" pathParam={ addressHash.toLowerCase() } ml={{ base: 'auto', lg: 0 }}/>
139139
</Flex>
140140
</Flex>
141141
);

0 commit comments

Comments
 (0)