From 409d4357d4fb80b9da1f0abd06eb42812d623942 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Fri, 9 Feb 2024 14:10:18 +0100 Subject: [PATCH] fix EthHashInfo explorer link --- src/components/common/EthHashInfo/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/EthHashInfo/index.tsx b/src/components/common/EthHashInfo/index.tsx index f5f66a60aa..18559af22e 100644 --- a/src/components/common/EthHashInfo/index.tsx +++ b/src/components/common/EthHashInfo/index.tsx @@ -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 (