diff --git a/web/app/[locale]/signups/page.tsx b/web/app/[locale]/signups/page.tsx index 765eafd..389a91b 100644 --- a/web/app/[locale]/signups/page.tsx +++ b/web/app/[locale]/signups/page.tsx @@ -1,7 +1,7 @@ import { fetchAPI } from "@/lib/api"; -import GoBack from "./GoBack"; import { ItemCategory, StrapiBaseType } from "@/utils/models"; import { getTranslation } from "@/utils/translationHelper"; +import GoBack from "./GoBack"; export const dynamic = "force-dynamic"; type Field = StrapiBaseType<{ @@ -14,7 +14,13 @@ type Field = StrapiBaseType<{ const getData = async () => { const [content, categories] = await Promise.all([ - fetchAPI("/orders/signups", { cache: "no-store" }), + fetchAPI( + "/orders/signups", + { cache: "no-store" }, + { + sort: ["createdAt:asc"], + }, + ), fetchAPI( "/item-categories", { cache: "no-store" },