Skip to content

Commit

Permalink
fix EthHashInfo explorer link
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Feb 9, 2024
1 parent 3573daf commit 409d435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/EthHashInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const EthHashInfo = ({
const currentChainId = useChainId()
const chain = useAppSelector((state) => selectChainById(state, props.chainId || currentChainId))
const addressBook = useAddressBook()
const link = chain && getBlockExplorerLink(chain, props.address) : undefined
const link = chain && props.hasExplorer ? getBlockExplorerLink(chain, props.address) : undefined
const name = showName ? addressBook[props.address] || props.name : undefined

return (
Expand Down

0 comments on commit 409d435

Please sign in to comment.