diff --git a/src/components/dm/ChatArea.tsx b/src/components/dm/ChatArea.tsx index cc69c04..bfff943 100644 --- a/src/components/dm/ChatArea.tsx +++ b/src/components/dm/ChatArea.tsx @@ -122,14 +122,26 @@ const ChatHeader = ({ pubkey, onBack }: { pubkey: string; onBack?: () => void }) ); }; -const EmptyState = () => { +const EmptyState = ({ isLoading }: { isLoading: boolean }) => { return (
Select a conversation to start messaging
-- Your messages are encrypted and stored locally -
+ {isLoading ? ( + <> +Loading conversations...
++ Fetching encrypted messages from relays +
+ > + ) : ( + <> +Select a conversation to start messaging
++ Your messages are encrypted and stored locally +
+ > + )}