remove dead code Footer

This commit is contained in:
Nate 2025-06-26 21:20:51 -07:00
parent 78426cc224
commit f637e1d5d4
2 changed files with 0 additions and 23 deletions

View file

@ -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 (
// <footer className="flex flex-col border-0 border-t border-solid border-t-zinc-700 px-2 py-2">
// <FreeTrialProgressBar
// completed={getLocalStorage("ftc") ?? 0}
// total={FREE_TRIAL_LIMIT_REQUESTS}
// />
// </footer>
// );
// }
return null;
}
export default Footer;

View file

@ -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 = () => {
<PostHogPageView />
<Outlet />
<FatalErrorIndicator />
<Footer />
</GridDiv>
</div>
<div style={{ fontSize: fontSize(-4) }} id="tooltip-portal-div" />