From 9f0638ff2cc2ad990863ca29ba2d78b8731f182d Mon Sep 17 00:00:00 2001 From: Kevin Rohlf <123676073+KevinRohlf@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:23:03 +0200 Subject: [PATCH] fix: show address as provider if the address is not in pontusxAddresses.json (#609) --- src/components/@shared/Publisher/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/@shared/Publisher/index.tsx b/src/components/@shared/Publisher/index.tsx index e601cf02..fe1b919f 100644 --- a/src/components/@shared/Publisher/index.tsx +++ b/src/components/@shared/Publisher/index.tsx @@ -30,7 +30,7 @@ export default function Publisher({ // set default name on hook // to avoid side effect (UI not updating on account's change) - if (showName && isMounted()) { + if (showName && isMounted() && addresses[account]) { const accountName = addresses[account] accountName.length > 15 ? setName(accountTruncate(accountName, 15))