From ee8e0beb25f61d442e6de278ed52e678556d6e49 Mon Sep 17 00:00:00 2001 From: petterav Date: Tue, 16 Apr 2024 13:02:43 +0200 Subject: [PATCH] fix: remove monthly annotations --- src/utils/ChartOptions/GrowthChartAnnotations.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/ChartOptions/GrowthChartAnnotations.tsx b/src/utils/ChartOptions/GrowthChartAnnotations.tsx index 9faa934..85ace95 100644 --- a/src/utils/ChartOptions/GrowthChartAnnotations.tsx +++ b/src/utils/ChartOptions/GrowthChartAnnotations.tsx @@ -17,7 +17,7 @@ export const GrowthChartAnnotations = ( }; if (datasetMetadata.xAxisLabel === TimeUnitCodes.weeks) { - timeUnitConfig = timeUnitData.Months; + return []; } if (datasetMetadata.xAxisLabel === TimeUnitCodes.months) {