Skip to content

Commit

Permalink
Removed Other Sponsored from filter tab on Virtual Contests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eagle-Konbu committed Jan 19, 2023
1 parent f9e01e6 commit 4cc9649
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export const ProblemSetGenerator: React.FC<Props> = (props) => {
ABC_Like: true,
ARC_Like: true,
AGC_Like: true,
Other_Sponsored: true,
});
const [selectedPreset, setSelectedPreset] = useState(ABC_PRESET);
const problems = useProblems() ?? [];
Expand All @@ -115,8 +114,6 @@ export const ProblemSetGenerator: React.FC<Props> = (props) => {
const contestTypeKeyToDisplayName = (key: string) => {
if (key.includes("Like")) {
return key.replace("_", "-");
} else if (key === "Other_Sponsored") {
return "Other Sponsored";
} else {
return key;
}
Expand Down

0 comments on commit 4cc9649

Please sign in to comment.