From a9327394c51c10b0e568ad53cf4bb3651e448978 Mon Sep 17 00:00:00 2001 From: henry Date: Fri, 13 Dec 2024 13:08:25 -0600 Subject: [PATCH] removed unused variables --- gui/src/components/History/index.tsx | 2 -- gui/src/components/Layout.tsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/gui/src/components/History/index.tsx b/gui/src/components/History/index.tsx index 9c6bc054e..24ac376e3 100644 --- a/gui/src/components/History/index.tsx +++ b/gui/src/components/History/index.tsx @@ -23,8 +23,6 @@ export function History() { const [searchTerm, setSearchTerm] = useState(""); - const sessionTitle = useAppSelector((state) => state.session.title); - const minisearch = useRef( new MiniSearch({ fields: ["title"], diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index b183e24e4..78085b431 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -65,8 +65,6 @@ const Layout = () => { const showDialog = useAppSelector((state) => state.ui.showDialog); - const isStreaming = useAppSelector((state) => state.session.isStreaming); - useWebviewListener( "openDialogMessage", async (message) => {