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("stockTake");
  return (
    <I18nProvider namespaces={["stockTake","navigation","common","pickOrder"]}>
    <Suspense fallback={<StockTakeManagementWrapper.Loading />}>
      <StockTakeManagementWrapper />
    </Suspense>
    </I18nProvider>
  );
}