import type { ReactNode } from "react"; import type { SectionBaseProps } from "./context"; import { useTranslation } from "react-i18next"; export interface ResearchProjectSectionProps extends SectionBaseProps { scopeBanner: ReactNode; researchLimitError: string | null; } export function ResearchProjectSection({ scopeBanner, form, setForm, researchLimitError }: ResearchProjectSectionProps) { const { t } = useTranslation("app"); const limits = form.researchSettings?.limits; const sources = form.researchSettings?.enabledSources; return (<> {scopeBanner}