reset state

pull/1399/head
Aniket-Engg 4 years ago committed by Aniket
parent 987ec37f25
commit 2512f3066a
  1. 2
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -83,6 +83,8 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
setWarningState([])
// Reset badge
props.event.trigger('staticAnaysisWarning', [])
// Reset state
dispatch({ type: '', payload: {} })
})
return () => { }
}, [props.analysisModule])

Loading…
Cancel
Save