Skip to content

Commit 4f7cb90

Browse files
author
Mark Saroufim
committed
Fix beginner detection to only match pmpp_v2 problems (e.g. sort_v2, histogram_v2)
1 parent 249f69e commit 4f7cb90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/pages/home/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ interface LeaderboardSummaries {
4848
}
4949

5050
function isBeginnerProblem(name: string): boolean {
51-
return /pmpp/i.test(name);
51+
return /_v2\b/i.test(name);
5252
}
5353

5454
export default function Home() {

0 commit comments

Comments
 (0)