import M18ImportTesting from "@/components/M18ImportTesting";
import { getServerI18n } from "@/i18n";
import { Stack } from "@mui/material";
import { Metadata } from "next";
import React, { Suspense } from "react";
import { I18nProvider } from "@/i18n";

export const metadata: Metadata = {
  title: "Import Testing",
};

const M18ImportTestingPage: React.FC = async () => {
  const { t } = await getServerI18n("m18ImportTesting");

  return (
    <>
      <Stack
        direction="row"
        justifyContent="space-between"
        flexWrap="wrap"
        rowGap={2}
      ></Stack>
      <Suspense fallback={<M18ImportTesting.Loading />}>
        <I18nProvider namespaces={["m18ImportTesting","navigation","common"]}>
          <M18ImportTesting />
        </I18nProvider>
      </Suspense>
    </>
  );
};

export default M18ImportTestingPage;
