FPSMS-frontend
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

30 lines
732 B

  1. import SearchPage from "@/components/StockIssue/index";
  2. import { PreloadList } from "@/components/StockIssue/action";
  3. import { getServerI18n } from "@/i18n";
  4. import { I18nProvider } from "@/i18n";
  5. import { Stack, Typography } from "@mui/material";
  6. import { Metadata } from "next";
  7. import { Suspense } from "react";
  8. export const metadata: Metadata = {
  9. title: "Stock Issue",
  10. };
  11. const SearchView: React.FC = async () => {
  12. const { t } = await getServerI18n("inventory");
  13. PreloadList();
  14. return (
  15. <>
  16. <I18nProvider namespaces={["inventory", "common"]}>
  17. <Suspense fallback={<SearchPage.Loading />}>
  18. <SearchPage />
  19. </Suspense>
  20. </I18nProvider>
  21. </>
  22. );
  23. };
  24. export default SearchView;