Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

19 строки
649 B

  1. //src\components\LateStartReportGen\LateStartReportGenWrapper.tsx
  2. import { fetchProjectsCashFlow } from "@/app/api/cashflow";
  3. import React from "react";
  4. import LateStartReportGen from "./LateStartReportGen";
  5. import LateStartReportGenLoading from "./LateStartReportGenLoading";
  6. interface SubComponents {
  7. Loading: typeof LateStartReportGenLoading;
  8. }
  9. const LateStartReportGenWrapper: React.FC & SubComponents = async () => {
  10. const clentprojects = await fetchProjectsCashFlow();
  11. return <LateStartReportGen projects={clentprojects} />;
  12. };
  13. LateStartReportGenWrapper.Loading = LateStartReportGenLoading;
  14. export default LateStartReportGenWrapper;