Skip to content

Commit f552f01

Browse files
authored
fix: changed pie charts for ABC H Ex
1 parent 980d497 commit f552f01

File tree

1 file changed

+3
-2
lines changed
  • atcoder-problems-frontend/src/pages/UserPage/PieChartBlock

1 file changed

+3
-2
lines changed

atcoder-problems-frontend/src/pages/UserPage/PieChartBlock/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ const PieCharts: React.FC<PieChartsProps> = ({ problems, title }) => (
186186
</Row>
187187
<Row className="my-3">
188188
{problems.map(({ solved, rejected, total }, i) => {
189-
const key = "ABCDEFGH".charAt(i);
190-
if(i==7)key="Ex";
189+
const key;
190+
if(i<=6)key = "ABCDEFG".charAt(i);
191+
if(i==7)key = "H/Ex";
191192
return (
192193
<Col
193194
key={key}

0 commit comments

Comments
 (0)