import { useAuthStore, selectHasLocalSession } from "@/client/stores/auth-store"; import { LandingPage } from "./landing-page"; import { EmptyWorkspaceView } from "./empty-workspace-view"; export function IndexGateway() { const hasLocalSession = useAuthStore(selectHasLocalSession); const refreshState = useAuthStore((s) => s.refreshState); if (!hasLocalSession && refreshState === "refreshing") { return (
Restoring your session.