Skip to content

Commit ae7af2a

Browse files
committed
fix: remove redundant code
1 parent 44ac5d1 commit ae7af2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

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

0 commit comments

Comments
 (0)