From 6f0b670ef83d9c197cac7525df8bd9a79efe762e Mon Sep 17 00:00:00 2001 From: Luiz Filipe Cunha Date: Thu, 27 Apr 2023 22:33:14 +0000 Subject: [PATCH] fix years economy --- src/pages/economy/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/economy/index.tsx b/src/pages/economy/index.tsx index 0c8743a..3880341 100644 --- a/src/pages/economy/index.tsx +++ b/src/pages/economy/index.tsx @@ -211,7 +211,7 @@ export default function economy({ userName, anual, years, brutaMensal, catLiv, c value?.mes.slice(0, 4).includes(previousYear)).map(value => value?.custo_unit && !!parseInt(value?.custo_unit) ? value.custo_unit : null)} data2={indicatorDataState?.filter(value => value?.mes.slice(0, 4).includes(currentYear)).map(value => value?.custo_unit && !!parseInt(value?.custo_unit) ? value.custo_unit : null)} - years={[previousYear, currentYear]} + years={[previousYear+'', currentYear+'']} label={months} />