remove redundant warnings in cards

pull/3838/head
Joseph Izang 1 year ago
parent 1aca0d1681
commit 3b4f8b9036
  1. 2
      libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx
  2. 3
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -51,7 +51,7 @@ console.log({test, test1 })
name={`staticAnalysisModule${warning.warningModuleName}${index}`} name={`staticAnalysisModule${warning.warningModuleName}${index}`}
message={warning.msg} message={warning.msg}
opt={warning.options} opt={warning.options}
warningErrors={warning.warningErrors} warningErrors={''}
editor={analysisModule} editor={analysisModule}
/> />
</div> </div>

@ -463,7 +463,6 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<span className="text-wrap"> <span className="text-wrap">
{hint.formattedMessage} {hint.formattedMessage}
</span> </span>
<span>{hint.type}</span>
<br /> <br />
<span>{`${hint.column}:${hint.line}`}</span> <span>{`${hint.column}:${hint.line}`}</span>
</div> </div>
@ -597,7 +596,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
name={`staticAnalysisModule${warning.warningModuleName}${index}`} name={`staticAnalysisModule${warning.warningModuleName}${index}`}
message={warning.msg} message={warning.msg}
opt={warning.options} opt={warning.options}
warningErrors={warning.warningErrors} warningErrors={''}
editor={props.analysisModule} editor={props.analysisModule}
/> />
</div> </div>

Loading…
Cancel
Save