Elffuss BraidHub

kikocis/continue public

9df136a0123e · 637 BRawPermalink
1import { useAppSelector } from "../redux/hooks";
2import { selectSelectedChatModel } from "../redux/slices/configSlice";
3
4function Footer() {
5 const defaultModel = useAppSelector(selectSelectedChatModel);
6
7 // TODO hook hub up to free trial
8 // if (defaultModel?.provider === "free-trial") {
9 // return (
10 // <footer className="flex flex-col border-0 border-t border-solid border-t-zinc-700 px-2 py-2">
11 // <FreeTrialProgressBar
12 // completed={getLocalStorage("ftc") ?? 0}
13 // total={FREE_TRIAL_LIMIT_REQUESTS}
14 // />
15 // </footer>
16 // );
17 // }
18 return null;
19}
20
21export default Footer;