FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

page.tsx 983 B

5 months ago
5 months ago
5 months ago
123456789101112131415161718192021222324252627282930313233343536
  1. // import DoSearch from "@/components/DoSearch";
  2. // import { getServerI18n } from "@/i18n"
  3. import DoSearch from "../../../components/DoSearch";
  4. import { getServerI18n } from "../../../i18n"
  5. import { Stack, Typography } from "@mui/material";
  6. import { I18nProvider } from "@/i18n";
  7. import { Metadata } from "next";
  8. import { Suspense } from "react";
  9. export const metadata: Metadata = {
  10. title: "Delivery Order"
  11. }
  12. const DeliveryOrder: React.FC = async () => {
  13. const { t } = await getServerI18n("do");
  14. return (
  15. <>
  16. <Stack
  17. direction="row"
  18. justifyContent={"space-between"}
  19. flexWrap={"wrap"}
  20. rowGap={2}
  21. >
  22. </Stack>
  23. <I18nProvider namespaces={["do", "common"]}>
  24. <Suspense fallback={<DoSearch.Loading />}>
  25. <DoSearch />
  26. </Suspense>
  27. </I18nProvider>
  28. </>
  29. )
  30. }
  31. export default DeliveryOrder;