From 56bdcded97f6b9dccc43cc53ff52c93a25d3d254 Mon Sep 17 00:00:00 2001 From: Luiz Filipe Date: Tue, 16 Aug 2022 02:30:51 -0300 Subject: [PATCH] fix lint --- src/components/graph/grossAnualChart/GrossAnualChart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/graph/grossAnualChart/GrossAnualChart.tsx b/src/components/graph/grossAnualChart/GrossAnualChart.tsx index 4ada146..e0bd1fe 100644 --- a/src/components/graph/grossAnualChart/GrossAnualChart.tsx +++ b/src/components/graph/grossAnualChart/GrossAnualChart.tsx @@ -102,11 +102,11 @@ export function GrossAnualChart({ title, subtitle, dataProps, label, dataset, ba }, }; - let labels: string[]; + const labels: string[] = label; //if (bruta) { // labels = [`Até ${new Date().getFullYear()-1}`, `${new Date().getFullYear()}`] //} else { - labels = label; + // labels = label; //} const data: any = {