diff --git a/packages/ui/src/util/getExplorer.ts b/packages/ui/src/util/getExplorer.ts index b90e6bdc0..d3a481b9e 100644 --- a/packages/ui/src/util/getExplorer.ts +++ b/packages/ui/src/util/getExplorer.ts @@ -64,6 +64,10 @@ export const generateExplorerLink = ( return undefined } + if (!network.blockExplorerUrls[0].trim()) { + return undefined + } + if (type === "tx") { return createCustomExplorerLink(value, network.blockExplorerUrls[0]) } else if (type === "address") {