Skip to content

Commit

Permalink
fix typo DailyActiveMinutesCard
Browse files Browse the repository at this point in the history
  • Loading branch information
JGreenlee committed Sep 20, 2024
1 parent cd0b488 commit 9c2186b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/metrics/movement/DailyActiveMinutesCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const DailyActiveMinutesCard = ({ userMetrics, activeModes }: Props) => {
userMetrics?.duration?.forEach((day) => {
const activeSeconds = valueForFieldOnDay(day, 'mode_confirm', modeKey);
records.push({

Check warning on line 20 in www/js/metrics/movement/DailyActiveMinutesCard.tsx

View check run for this annotation

Codecov / codecov/patch

www/js/metrics/movement/DailyActiveMinutesCard.tsx#L18-L20

Added lines #L18 - L20 were not covered by tests
label: labelKeyToText(mode),
label: labelKeyToText(modeKey),
x: tsForDayOfMetricData(day) * 1000, // vertical chart, milliseconds on X axis
y: (activeSeconds || 0) / 60, // minutes on Y axis
});
Expand Down

0 comments on commit 9c2186b

Please sign in to comment.