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

Function handleDeleteConversation

src/components/ConversationTabsView.tsx:89–94  ·  view source on GitHub ↗
(conversation: Conversation)

Source from the content-addressed store, hash-verified

87 };
88
89 const handleDeleteConversation = (conversation: Conversation) => {
90 conversationStore.clearConversation((item) => item.id !== conversation.id);
91 if (conversationStore.currentConversationId === conversation.id) {
92 conversationStore.setCurrentConversationId(undefined);
93 }
94 };
95
96 return (
97 <>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected