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.
|
- import { I18nProvider, getServerI18n } from "@/i18n";
- import { Typography } from "@mui/material";
- import { Suspense } from "react";
- import CreatePrinter from "@/components/CreatePrinter";
-
- const CreatePrinterPage: React.FC = async () => {
- const { t } = await getServerI18n("common");
-
- return (
- <>
- <Typography variant="h4">{t("Create Printer") || "新增列印機"}</Typography>
- <I18nProvider namespaces={["common"]}>
- <Suspense fallback={<CreatePrinter.Loading />}>
- <CreatePrinter />
- </Suspense>
- </I18nProvider>
- </>
- );
- };
-
- export default CreatePrinterPage;
|