From 100b43dd3a43aa69f09e2d2549a89e4419be5bf1 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 10 Jul 2022 17:00:56 -0700 Subject: [PATCH] Fix build errors --- web/components/ui/Sidebar/Sidebar.tsx | 4 ---- web/stories/ChatContainer.stories.tsx | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) 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 => {