You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
770 B

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