Skip to content

Commit

Permalink
fix: show address as provider if the address is not in pontusxAddress…
Browse files Browse the repository at this point in the history
…es.json (#609)
  • Loading branch information
KevinRohlf authored Oct 22, 2024
1 parent a84b9eb commit 9f0638f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/@shared/Publisher/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9f0638f

Please sign in to comment.