From e4e68d993c65d8b786dd780c490b22807288827a Mon Sep 17 00:00:00 2001 From: petterav <136808617+petterav@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:00:06 +0200 Subject: [PATCH] fix: [CGC-58] Remove Monthly Annotations (#68) --- 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) {