|
- // import { TypeEnum } from "@/app/utils/typeEnum";
- // import DetailedSchedule from "@/components/DetailedSchedule";
- // import { getServerI18n } from "@/i18n";
-
- import DetailedSchedule from "../../../../components/DetailedSchedule";
- import { getServerI18n } from "../../../../i18n";
- import { I18nProvider } from "@/i18n";
- import Stack from "@mui/material/Stack";
- import Typography from "@mui/material/Typography";
- import { Metadata } from "next";
- import { Suspense } from "react";
-
- export const metadata: Metadata = {
- title: "Detail Scheduling",
- };
-
- const DetailScheduling: React.FC = async () => {
- const { t } = await getServerI18n("schedule");
- const type = "detailed";
- // preloadClaims();
-
- return (
- <>
- <Stack
- direction="row"
- justifyContent="space-between"
- flexWrap="wrap"
- rowGap={2}
- >
- <Typography variant="h4" marginInlineEnd={2}>
- {t("Detail Scheduling")}
- </Typography>
- </Stack>
- <I18nProvider namespaces={["schedule", "common"]}>
- <Suspense fallback={<DetailedSchedule.Loading />}>
- <DetailedSchedule type={type} />
- </Suspense>
- </I18nProvider>
- </>
- );
- };
-
- export default DetailScheduling;
|