From 9e1fe170902dae1475e4720cecb5afa34296d561 Mon Sep 17 00:00:00 2001 From: tizah Date: Tue, 1 Jun 2021 11:49:07 +0100 Subject: [PATCH] fix warning in browser console --- .../src/lib/remix-ui-static-analyser.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx index 5bb91441af..02cea5d84d 100644 --- a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx +++ b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx @@ -327,18 +327,18 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
{ - (Object.entries(warningState).map((element) => ( - <> + (Object.entries(warningState).map((element, index) => ( +
{element[0]} - {element[1].map(x => ( + {element[1].map((x, i) => ( x.hasWarning ? ( -
+
) : null ))} - +
))) }