|
|
@ -124,6 +124,14 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { |
|
|
|
props.event.trigger('staticAnalysisWarning', [-1]) |
|
|
|
props.event.trigger('staticAnalysisWarning', [-1]) |
|
|
|
}, [state]) |
|
|
|
}, [state]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
|
|
|
props.analysisModule.on('solidity', 'compilationFinished', (fileName, source, languageVersion, data) => { |
|
|
|
|
|
|
|
setHints([]) |
|
|
|
|
|
|
|
setSlitherWarnings([]) |
|
|
|
|
|
|
|
setSsaWarnings([]) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, [state]) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
const checkRemixdActive = async () => { |
|
|
|
const checkRemixdActive = async () => { |
|
|
|
const remixdActive = await props.analysisModule.call('manager', 'isActive', 'remixd') |
|
|
|
const remixdActive = await props.analysisModule.call('manager', 'isActive', 'remixd') |
|
|
|