|
- import { Suspense } from "react";
- import ShopDetail from "@/components/Shop/ShopDetail";
- import { I18nProvider, getServerI18n } from "@/i18n";
- import GeneralLoading from "@/components/General/GeneralLoading";
-
- export default async function ShopDetailPage() {
- const { t } = await getServerI18n("shop", "common");
- return (
- <I18nProvider namespaces={["shop", "common"]}>
- <Suspense fallback={<GeneralLoading />}>
- <ShopDetail />
- </Suspense>
- </I18nProvider>
- );
- }
|