setActiveChatId(chat._id)}
+ style={{
+ padding: '10px 12px',
+ borderRadius: '8px',
+ cursor: 'pointer',
+ background: activeChatId === chat._id ? 'var(--ds-muted, #edf2f5)' : 'transparent',
+ marginBottom: 8,
+ }}
+ >
+
+ {chat.name || 'Chat'}
+
+
+ {chat.lastMessage || 'No messages'}
+
+