"use client"; import { useEffect } from "react"; import { useSupabase } from "@/lib/context/SupabaseProvider"; import { redirectToPreviousPageOrChatPage } from "@/lib/helpers/redirectToPreviousPageOrChatPage"; import { DemoSection, FooterSection, HomeHeader, HomeSection, IntroSection, SecuritySection, TestimonialsSection, } from "./components"; import { HomeHeaderBackground } from "./components/HomeHeader/components/HomeHeaderBackground"; import { UseCases } from "./components/UseCases/UseCases"; const HomePage = (): JSX.Element => { const { session } = useSupabase(); useEffect(() => { if (session?.user !== undefined) { redirectToPreviousPageOrChatPage(); } }, [session?.user]); return ( <>
); }; export default HomePage;