Commit 2512f306 authored by Aniket-Engg's avatar Aniket-Engg Committed by Aniket

reset state

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