import { AnimatePresence, motion } from "framer-motion"; import { WarningCircle } from "../components/ui/icons"; import type { SectionId } from "@shared/types"; import { ErrorBoundary } from "../components/ui"; import { OrganizationSections } from "./sections/OrganizationSections"; import { ExecutionSections } from "./sections/ExecutionSections"; import { OperationsSections } from "./sections/OperationsSections"; interface SectionContentViewProps { section: SectionId; error: string | null; pageTransition: { duration: number; ease?: readonly [number, number, number, number] } | { duration: number }; } export function SectionContentView({ section, error, pageTransition }: SectionContentViewProps) { const isCommunication = section === "communication"; return (