Skip to content

Commit

Permalink
fix: remove monthly annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
petterav committed Apr 16, 2024
1 parent dd3b2f5 commit ee8e0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ChartOptions/GrowthChartAnnotations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const GrowthChartAnnotations = (
};

if (datasetMetadata.xAxisLabel === TimeUnitCodes.weeks) {
timeUnitConfig = timeUnitData.Months;
return [];
}

if (datasetMetadata.xAxisLabel === TimeUnitCodes.months) {
Expand Down

0 comments on commit ee8e0be

Please sign in to comment.