diff --git a/web/src/components/ChatList.tsx b/web/src/components/ChatList.tsx index a0b4667..eb21f5b 100644 --- a/web/src/components/ChatList.tsx +++ b/web/src/components/ChatList.tsx @@ -171,6 +171,52 @@ export function ChatList() { ]; const visibleChats = tab === "archived" ? archivedChats : filteredChats; + const pinnedVisibleChats = visibleChats.filter((chat) => chat.pinned); + const regularVisibleChats = visibleChats.filter((chat) => !chat.pinned); + + function renderChatRow(chat: (typeof visibleChats)[number]) { + return ( + + ); + } return (