From 4cc9649897dbcc8f5e5a2fb2a533d10a8898a7eb Mon Sep 17 00:00:00 2001 From: Atsuya Uchida Date: Fri, 20 Jan 2023 06:03:02 +0900 Subject: [PATCH] Removed Other Sponsored from filter tab on Virtual Contests. --- .../src/components/ProblemSetGenerator.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/atcoder-problems-frontend/src/components/ProblemSetGenerator.tsx b/atcoder-problems-frontend/src/components/ProblemSetGenerator.tsx index ad82a8110..9a67bf3c2 100644 --- a/atcoder-problems-frontend/src/components/ProblemSetGenerator.tsx +++ b/atcoder-problems-frontend/src/components/ProblemSetGenerator.tsx @@ -101,7 +101,6 @@ export const ProblemSetGenerator: React.FC = (props) => { ABC_Like: true, ARC_Like: true, AGC_Like: true, - Other_Sponsored: true, }); const [selectedPreset, setSelectedPreset] = useState(ABC_PRESET); const problems = useProblems() ?? []; @@ -115,8 +114,6 @@ export const ProblemSetGenerator: React.FC = (props) => { const contestTypeKeyToDisplayName = (key: string) => { if (key.includes("Like")) { return key.replace("_", "-"); - } else if (key === "Other_Sponsored") { - return "Other Sponsored"; } else { return key; }