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 44f640b commit 579b093Copy full SHA for 579b093
site/src/components/ActiveUserChart/ActiveUserChart.tsx
@@ -48,13 +48,8 @@ export const ActiveUserChart: FC<ActiveUserChartProps> = ({
48
}) => {
49
const theme: Theme = useTheme();
50
51
- const labels = data.map((val) => {
52
- return dayjs(val.date).format("YYYY-MM-DD");
53
- });
54
-
55
- const chartData = data.map((val) => {
56
- return val.amount;
57
+ const labels = data.map((val) => dayjs(val.date).format("YYYY-MM-DD"));
+ const chartData = data.map((val) => val.amount);
58
59
defaults.font.family = theme.typography.fontFamily as string;
60
defaults.color = theme.palette.text.secondary;
0 commit comments