FPSMS-frontend
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.

1 月之前
12345678910111213141516171819
  1. import { Suspense } from "react";
  2. import ShopWrapper from "@/components/Shop";
  3. import { I18nProvider, getServerI18n } from "@/i18n";
  4. import { Typography } from "@mui/material";
  5. import { isArray } from "lodash";
  6. import { Metadata } from "next";
  7. import { notFound } from "next/navigation";
  8. export default async function ShopPage() {
  9. await getServerI18n("shop");
  10. return (
  11. <I18nProvider namespaces={["shop","navigation","common"]}>
  12. <Suspense fallback={<ShopWrapper.Loading />}>
  13. <ShopWrapper />
  14. </Suspense>
  15. </I18nProvider>
  16. );
  17. }