Skip to content

Commit 45fb896

Browse files
authored
fix: changed pie charts for ABC H&Ex
1 parent dbf35ae commit 45fb896

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ const PieCharts: React.FC<PieChartsProps> = ({ problems, title }) => (
186186
</Row>
187187
<Row className="my-3">
188188
{problems.map(({ solved, rejected, total }, i) => {
189-
const key = (i<=6? "ABCDEFG".charAt(i):"H/Ex");
189+
const key = i <= 6 ? "ABCDEFG".charAt(i) : "H/Ex";
190190
return (
191191
<Col
192192
key={key}

0 commit comments

Comments
 (0)