Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(dashboard): scope the chat row comment to the Chats list
Yudhi Armyndharis7ddf7229af7c
diff --git a/dashboard/src/components/chats/ChatSidebar.tsx b/dashboard/src/components/chats/ChatSidebar.tsxindex 8ce68a110..cb210a78d 100644--- a/dashboard/src/components/chats/ChatSidebar.tsx+++ b/dashboard/src/components/chats/ChatSidebar.tsx@@ -63,9 +63,9 @@ function ChatSidebar({const formatLastMessageSnippet = (chat: Chat) => chat.lastMessage || '';- // Shared row markup for the Chats and Status lists — a plain function (not memoized) since it- // closes over render-scoped props (chatsTab.activeChatId, chatsTab.pictures) that already- // change every render.+ // Row markup for the Chats list: a plain function (not memoized) since it closes over+ // render-scoped props (chatsTab.activeChatId, chatsTab.pictures) that already change every+ // render.const renderChatRow = (chat: Chat) => {const isActive = chatsTab.activeChatId === chat.id;return (