From d77eb431ffe555345b873098e77bcecca5f45807 Mon Sep 17 00:00:00 2001 From: Mariana Sartorato Date: Fri, 19 Jul 2024 17:07:58 -0300 Subject: [PATCH] fix: add null check for compiler --- 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 2666808..b826e8b 100644 --- a/dashboard/src/components/Summary/Summary.tsx +++ b/dashboard/src/components/Summary/Summary.tsx @@ -47,7 +47,7 @@ const Summary = ({ const SummaryItem = ({ arch, compilers }: ISummaryItem): JSX.Element => { const compilersElement = useMemo( () => - compilers.map(compiler => ( + compilers?.map(compiler => ( {compiler}