From 3258ce41e148d68d494d45823e1c7e57e77f9fe1 Mon Sep 17 00:00:00 2001 From: Mariana Sartorato Date: Fri, 19 Jul 2024 18:20:40 -0300 Subject: [PATCH] fix: summary undefined --- dashboard/src/components/Summary/Summary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/Summary/Summary.tsx b/dashboard/src/components/Summary/Summary.tsx index b826e8b..bda84a3 100644 --- a/dashboard/src/components/Summary/Summary.tsx +++ b/dashboard/src/components/Summary/Summary.tsx @@ -25,7 +25,7 @@ const Summary = ({ }: ISummaryTable): JSX.Element => { const summaryBodyRows = useMemo( () => - summaryBody.map(row => ( + summaryBody?.map(row => (