From 8d14062d14d5866086daf39a56561ef0c46bbdf3 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 21 Oct 2025 17:35:26 +0700 Subject: [PATCH] skeleton on avatar and resolved display name to avoid glitchy looking rewrites --- src/components/dm/DMConversationList.tsx | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/components/dm/DMConversationList.tsx b/src/components/dm/DMConversationList.tsx index fbd885d..db7cea1 100644 --- a/src/components/dm/DMConversationList.tsx +++ b/src/components/dm/DMConversationList.tsx @@ -48,6 +48,9 @@ const ConversationItemComponent = ({ ? '🔒 Encrypted message' : lastMessage?.decryptedContent || 'No messages yet'; + // Show skeleton only for name/avatar while loading (we already have message data) + const isLoadingProfile = author.isLoading && !metadata; + return (