import { Suspense } from "react";
import StockTakeManagementWrapper from "@/components/StockTakeManagement";
import { I18nProvider, getServerI18n } from "@/i18n";
import { Typography } from "@mui/material";
import { isArray } from "lodash";
import { Metadata } from "next";
import { notFound } from "next/navigation";


export default async function InventoryManagementPage() {
  const { t } = await getServerI18n("inventory");
  return (
    <I18nProvider namespaces={["inventory","common"]}>
    <Suspense fallback={<StockTakeManagementWrapper.Loading />}>
      <StockTakeManagementWrapper />
    </Suspense>
    </I18nProvider>
  );
}