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 c9625c0b92..eb2a1dc898 100644 --- a/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx +++ b/libs/remix-ui/static-analyser/src/lib/components/BasicTabBody.tsx @@ -6,78 +6,70 @@ type BasicTabBodyProps = { hideWarnings: boolean showLibsWarning: boolean warningState: any + ssaWarnings: any[] + ssaWarningsNoLibs: any[] startAnalysis: boolean analysisModule: any } -export function BasicTabBody({ state, hideWarnings, showLibsWarning, warningState, startAnalysis, analysisModule}: BasicTabBodyProps) { - +export function BasicTabBody({ state, hideWarnings, ssaWarnings, ssaWarningsNoLibs, showLibsWarning, warningState, startAnalysis, analysisModule}: BasicTabBodyProps) { +const test = ssaWarningsNoLibs.filter(x => x.options.isLibrary === false) +const test1 = ssaWarningsNoLibs.filter(x => x.options.isLibrary) +console.log({test, test1 }) return ( <> - {Object.entries(warningState).length > 0 ? ( -