Skip to content

Commit 2a0323e

Browse files
committed
AHCではDifficultyを非表示にする
1 parent c7689b2 commit 2a0323e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

atcoder-problems-frontend/src/components/ProblemLink.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export const ProblemLink: React.FC<Props> = (props) => {
5151
if (
5252
!showDifficulty ||
5353
problemModel === undefined ||
54-
(difficulty === undefined && !showDifficultyUnavailable)
54+
(difficulty === undefined && !showDifficultyUnavailable) ||
55+
/^ahc\d{3}$/g.test(contestId)
5556
) {
5657
return link;
5758
}

0 commit comments

Comments
 (0)