MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / handleChatCreated

Function handleChatCreated

ui/node-react/client/src/pages/MainLayout.js:67–70  ·  view source on GitHub ↗
(chatId, title)

Source from the content-addressed store, hash-verified

65 };
66
67 const handleChatCreated = (chatId, title) => {
68 setChats((prev) => [{ id: chatId, title, created_at: Date.now() }, ...prev]);
69 setActiveChatId(chatId);
70 };
71
72 return (
73 <div className="app-layout">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected