import PickOrderSearch from "@/components/PickOrderSearch";
import { I18nProvider } from "@/i18n";
import { Metadata } from "next";
import { Suspense } from "react";

export const metadata: Metadata = {
  title: "Stock Out Issue Record",
};

const StockOutIssueRecord: React.FC = async () => {
  return (
    <>
      <I18nProvider namespaces={["pickOrder","navigation","common","purchaseOrder","home","item"]}>
        <Suspense fallback={<PickOrderSearch.Loading />}>
          <PickOrderSearch />
        </Suspense>
      </I18nProvider>
    </>
  );
};

export default StockOutIssueRecord;
