|
- import ItemDefaultShelfLifeSettings from "@/components/ItemDefaultShelfLifeSettings/ItemDefaultShelfLifeSettings";
- import { getServerI18n, I18nProvider } from "@/i18n";
- import { Stack, Typography } from "@mui/material";
- import { Metadata } from "next";
-
- export const metadata: Metadata = {
- title: "Item default shelf life",
- };
-
- export default async function ItemDefaultShelfLifePage() {
- const { t } = await getServerI18n("itemDefaultShelfLife");
-
- return (
- <I18nProvider namespaces={["itemDefaultShelfLife", "navigation", "common"]}>
- <Stack spacing={2}>
- <Typography variant="h4">{t("title")}</Typography>
- <ItemDefaultShelfLifeSettings />
- </Stack>
- </I18nProvider>
- );
- }
|