From 431f84b871571708293e964571db1c7b34071701 Mon Sep 17 00:00:00 2001 From: Tommaso Casaburi Date: Wed, 15 Apr 2026 13:17:32 +0700 Subject: [PATCH] fix(feed): restore multiboard loading placeholder --- src/hooks/use-state-string.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/hooks/use-state-string.ts b/src/hooks/use-state-string.ts index 04db1de4..a4427a56 100644 --- a/src/hooks/use-state-string.ts +++ b/src/hooks/use-state-string.ts @@ -182,6 +182,14 @@ export const useFeedStateString = (communityAddresses?: string[]): string | unde stateString += ' via IPFS'; } + if (!stateString && communityAddresses?.length) { + const count = communityAddresses.length; + stateString = `downloading ${count} ${count === 1 ? 'board' : 'boards'}`; + if (count <= 5) { + stateString += ` (${communityAddresses.map((a) => getShortAddress(a) || a).join(', ')})`; + } + } + // capitalize first letter stateString = stateString.charAt(0).toUpperCase() + stateString.slice(1);