MCPcopy Create free account
hub / github.com/sqlchat/sqlchat / handleConversationSelect

Function handleConversationSelect

src/components/Sidebar/ConversationList.tsx:44–49  ·  view source on GitHub ↗
(conversation: Conversation)

Source from the content-addressed store, hash-verified

42 };
43
44 const handleConversationSelect = (conversation: Conversation) => {
45 conversationStore.setCurrentConversationId(conversation.id);
46 if (layoutStore.isMobileView) {
47 layoutStore.toggleSidebar(false);
48 }
49 };
50
51 const handleEditConversation = (conversation: Conversation) => {
52 setUpdateConversationModalContext(conversation);

Callers 1

ConversationListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected