diff --git a/web/components/ui/Sidebar/Sidebar.tsx b/web/components/ui/Sidebar/Sidebar.tsx index 03a11df14..b0d6811c9 100644 --- a/web/components/ui/Sidebar/Sidebar.tsx +++ b/web/components/ui/Sidebar/Sidebar.tsx @@ -6,15 +6,12 @@ import s from './Sidebar.module.scss'; import { chatMessagesAtom, - appStateAtom, chatDisplayNameAtom, chatUserIdAtom, } from '../../stores/ClientConfigStore'; -import { AppStateOptions } from '../../stores/application-state'; export default function Sidebar() { const messages = useRecoilValue(chatMessagesAtom); - const appState = useRecoilValue(appStateAtom); const chatDisplayName = useRecoilValue(chatDisplayNameAtom); const chatUserId = useRecoilValue(chatUserIdAtom); @@ -22,7 +19,6 @@ export default function Sidebar() { { - const { messages: m, loading } = args; + const { messages: m } = args; const [chatMessages, setChatMessages] = useState(m); return ( @@ -34,7 +34,6 @@ const AddMessagesChatExample = args => {