From d56a3f80effc714ff32915c8f959e1e9e1d05f69 Mon Sep 17 00:00:00 2001 From: toothlessdev Date: Tue, 9 Sep 2025 02:15:03 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20topRatedSchools=20=EC=A0=95=EB=A0=AC=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mosu-app/src/pages/events/competition/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mosu-app/src/pages/events/competition/index.tsx b/mosu-app/src/pages/events/competition/index.tsx index 03632362..b9465c57 100644 --- a/mosu-app/src/pages/events/competition/index.tsx +++ b/mosu-app/src/pages/events/competition/index.tsx @@ -12,8 +12,11 @@ import { RankTableSection } from "@/widgets/competition/RankTableSection"; export const getStaticProps = async () => { const topRatedSchools = await getTopRatedSchools(); + return { - props: { topRatedSchools }, + props: { + topRatedSchools: topRatedSchools.sort((e1, e2) => e2.paidApplicationCount - e1.paidApplicationCount), + }, revalidate: 3600, // 1 hour }; };