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.
 
 

16 line
491 B

  1. import { Suspense } from "react";
  2. import ShopDetail from "@/components/Shop/ShopDetail";
  3. import { I18nProvider, getServerI18n } from "@/i18n";
  4. import GeneralLoading from "@/components/General/GeneralLoading";
  5. export default async function ShopDetailPage() {
  6. const { t } = await getServerI18n("shop", "common");
  7. return (
  8. <I18nProvider namespaces={["shop", "common"]}>
  9. <Suspense fallback={<GeneralLoading />}>
  10. <ShopDetail />
  11. </Suspense>
  12. </I18nProvider>
  13. );
  14. }