Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

308 B
Raw Blame
import { type ReactNode } from "react";

export function TopicsWorkspaceGate({
  isLoading,
  fallback,
  children,
}: TopicsWorkspaceGateProps) {
  if (isLoading) return fallback;
  return children;
}

type TopicsWorkspaceGateProps = {
  isLoading: boolean;
  fallback: ReactNode;
  children: ReactNode;
};