import type { Metadata } from "next";
import { Suspense } from "react";

import { DashboardSkeleton } from "@/components/ui/dashboard-skeleton";
import { DashboardScreen } from "@/features/cdc-gpsf/plenary/dashboard/dashboard-screen";

export const metadata: Metadata = {
  title: "Ministry plenary dashboard",
};

// The ministry reads the plenary dashboard CDC-GPSF published, the same screen
// every other role sees.
export default function MinistryPlenaryDashboardPage() {
  return (
    <Suspense
      fallback={
        <DashboardSkeleton
          showSidebar={false}
          sx={{ minHeight: "auto" }}
        />
      }
    >
      <DashboardScreen />
    </Suspense>
  );
}
