We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd154f5 commit c9e6bc1Copy full SHA for c9e6bc1
src/app/compatibility/weekly_contributions.tsx
@@ -1,4 +1,5 @@
1
"use client";
2
+import { ReferenceLine } from "recharts";
3
import { BarChart } from "@mantine/charts";
4
import { Paper, Text } from "@mantine/core";
5
import classes from "./weekly_contributions.module.css";
@@ -43,6 +44,10 @@ export function WeeklyContributions({ data }: { data: DataPoint[] }) {
43
44
),
45
}}
46
className={classes.chart}
- />
47
+ >
48
+ {/* This invisible line is a workaround for https://github.com/mantinedev/mantine/issues/8110,
49
+ a regression with switching to Recharts 3. TODO: Remove when fixed. */}
50
+ <ReferenceLine y={0} stroke="transparent" ifOverflow="extendDomain" />
51
+ </BarChart>
52
);
53
}
0 commit comments