adding a condition to fix ci build

pull/1104/head
tizah 4 years ago
parent fcbf541289
commit 5971471679
  1. 6
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -356,8 +356,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
{result.currentFile && result.currentFile}
</span>
</div>
<div className="" >
<div className="mb-4" >
{ Object.entries(warningState).length > 0 &&
<div id='staticanalysisresult' >
<div className="mb-4 warning">
{
(Object.entries(warningState).map((element) => (
<>
@ -370,6 +371,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
}
</div>
</div>
}
</div>
)
}

Loading…
Cancel
Save