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);