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) => {