diff --git a/packages/chat-client/src/App.jsx b/packages/chat-client/src/App.jsx index 982dbd2..c47ebf7 100644 --- a/packages/chat-client/src/App.jsx +++ b/packages/chat-client/src/App.jsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import ChatWindow from './components/ChatWindow'; import InfoPanel from './components/InfoPanel'; import Sidebar from './components/Sidebar'; +import {v4 as uuidv4} from 'uuid'; /*** View Panels*** */ import AllChatsView from './components/AllChatsView'; @@ -25,6 +26,7 @@ export default function App() { const { sessions, + setSessions, activeSession, messages, loadingHistory, diff --git a/packages/chat-client/src/components/Sidebar.jsx b/packages/chat-client/src/components/Sidebar.jsx index 3b1c41b..6d5396f 100644 --- a/packages/chat-client/src/components/Sidebar.jsx +++ b/packages/chat-client/src/components/Sidebar.jsx @@ -159,7 +159,7 @@ export default function Sidebar({ {projects.slice(0, 6).map(project => (