From 3b4f8b903620d4ed7c6a5fb7f054115f1074faa8 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 22 Jun 2023 13:51:41 +0100 Subject: [PATCH] remove redundant warnings in cards --- .../static-analyser/src/lib/components/BasicTabBody.tsx | 2 +- .../static-analyser/src/lib/remix-ui-static-analyser.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx b/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx index eb2a1dc898..0e06648287 100644 --- a/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx +++ b/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx @@ -51,7 +51,7 @@ console.log({test, test1 }) name={`staticAnalysisModule${warning.warningModuleName}${index}`} message={warning.msg} opt={warning.options} - warningErrors={warning.warningErrors} + warningErrors={''} editor={analysisModule} /> 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 6bc5386059..b63e0e89d7 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 @@ -463,7 +463,6 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { {hint.formattedMessage} - {hint.type}
{`${hint.column}:${hint.line}`} @@ -597,7 +596,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { name={`staticAnalysisModule${warning.warningModuleName}${index}`} message={warning.msg} opt={warning.options} - warningErrors={warning.warningErrors} + warningErrors={''} editor={props.analysisModule} />