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

Function handleCreateConversation

src/components/ConversationTabsView.tsx:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 );
69
70 const handleCreateConversation = () => {
71 if (!currentConnectionCtx) {
72 conversationStore.createConversation();
73 } else {
74 conversationStore.createConversation(currentConnectionCtx.connection.id, currentConnectionCtx.database?.name);
75 }
76 };
77
78 const handleConversationClick = (conversation: Conversation) => {
79 conversationStore.setCurrentConversationId(conversation.id);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected