From f637e1d5d4a3ccce111daf7af5043d2cc2b52b71 Mon Sep 17 00:00:00 2001 From: Nate Date: Thu, 26 Jun 2025 21:20:51 -0700 Subject: [PATCH] remove dead code Footer --- gui/src/components/Footer.tsx | 21 --------------------- gui/src/components/Layout.tsx | 2 -- 2 files changed, 23 deletions(-) delete mode 100644 gui/src/components/Footer.tsx diff --git a/gui/src/components/Footer.tsx b/gui/src/components/Footer.tsx deleted file mode 100644 index 35fe7fa56..000000000 --- a/gui/src/components/Footer.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { useAppSelector } from "../redux/hooks"; -import { selectSelectedChatModel } from "../redux/slices/configSlice"; - -function Footer() { - const defaultModel = useAppSelector(selectSelectedChatModel); - - // TODO hook hub up to free trial - // if (defaultModel?.provider === "free-trial") { - // return ( - // - // ); - // } - return null; -} - -export default Footer; diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index 1e2134e7a..cb0738314 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -17,7 +17,6 @@ import { incrementFreeTrialCount } from "../util/freeTrial"; import { ROUTES } from "../util/navigation"; import { FatalErrorIndicator } from "./config/FatalErrorNotice"; import TextDialog from "./dialogs"; -import Footer from "./Footer"; import { LumpProvider } from "./mainInput/Lump/LumpContext"; import { useMainEditor } from "./mainInput/TipTapEditor"; import { @@ -252,7 +251,6 @@ const Layout = () => { -