From 432d8e5db840320fc3c9737b43755a0009bef7d6 Mon Sep 17 00:00:00 2001 From: toothlessdev Date: Tue, 9 Sep 2025 03:35:32 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20topRatedSchools=20=ED=95=84=ED=84=B0?= =?UTF-8?q?=EB=A7=81=20=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80=ED=95=98?= =?UTF-8?q?=EC=97=AC=20null=20=EA=B0=92=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mosu-app/src/pages/events/competition/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/mosu-app/src/pages/events/competition/index.tsx b/mosu-app/src/pages/events/competition/index.tsx index bc473413..dad9a882 100644 --- a/mosu-app/src/pages/events/competition/index.tsx +++ b/mosu-app/src/pages/events/competition/index.tsx @@ -14,6 +14,7 @@ export const getStaticProps = async () => { const topRatedSchools = await getTopRatedSchools(); const sortedTopRatedSchools = topRatedSchools + .filter((school) => school.schoolName !== null) .sort((e1, e2) => e2.paidApplicationCount - e1.paidApplicationCount) .slice(0, 20); const top3Schools = sortedTopRatedSchools.slice(0, 3).map((school) => school.schoolName);