From 3266d25e1b70320bd3e04681dad759e6adf40e46 Mon Sep 17 00:00:00 2001 From: Pedro Cella Date: Tue, 12 Dec 2023 20:54:07 -0300 Subject: [PATCH] (#225) Corrige Modal do adicionar meta --- src/app/components/ModalMeta.tsx | 2 +- src/app/private/pages/visualizarMetrica.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/components/ModalMeta.tsx b/src/app/components/ModalMeta.tsx index b0265f92..23eb2be2 100644 --- a/src/app/components/ModalMeta.tsx +++ b/src/app/components/ModalMeta.tsx @@ -47,7 +47,7 @@ export default function ModalMeta({ - {message} + Adicionar uma nova meta {metrica.categoria == EMetricas.HIDRATACAO && ( setModalVisible(false)} + closeModal={() => setModalMetaVisible(false)} metrica={params} message={params.categoria} />