Commit 84bcd82c authored by tizah's avatar tizah

adding a condition to fix ci build

parent 74404c31
...@@ -356,8 +356,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { ...@@ -356,8 +356,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
{result.currentFile && result.currentFile} {result.currentFile && result.currentFile}
</span> </span>
</div> </div>
<div className="" > { Object.entries(warningState).length > 0 &&
<div className="mb-4" > <div id='staticanalysisresult' >
<div className="mb-4 warning">
{ {
(Object.entries(warningState).map((element) => ( (Object.entries(warningState).map((element) => (
<> <>
...@@ -370,6 +371,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { ...@@ -370,6 +371,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
} }
</div> </div>
</div> </div>
}
</div> </div>
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment