|
|
@ -352,11 +352,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
|
|
|
|
|
|
|
|
const handleShowLibsWarning = () => { |
|
|
|
const handleShowLibsWarning = () => { |
|
|
|
if (showLibsWarning) { |
|
|
|
if (showLibsWarning) { |
|
|
|
props.event.trigger('staticAnaysisWarning', [remixAnalysisNoLibs.length]) |
|
|
|
|
|
|
|
setShowLibsWarning(false) |
|
|
|
setShowLibsWarning(false) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
filterWarnings() |
|
|
|
filterWarnings() |
|
|
|
props.event.trigger('staticAnaysisWarning', [ssaWarnings.length]) |
|
|
|
|
|
|
|
setShowLibsWarning(true) |
|
|
|
setShowLibsWarning(true) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|