diff --git a/web/src/components/ChatList.tsx b/web/src/components/ChatList.tsx index 4cf2654..ec822d1 100644 --- a/web/src/components/ChatList.tsx +++ b/web/src/components/ChatList.tsx @@ -3,22 +3,53 @@ import { NewChatPanel } from "./NewChatPanel"; export function ChatList() { const chats = useChatStore((s) => s.chats); + const messagesByChat = useChatStore((s) => s.messagesByChat); const activeChatId = useChatStore((s) => s.activeChatId); const setActiveChatId = useChatStore((s) => s.setActiveChatId); return ( -