diff --git a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx index dfbed3a928..f8b2bedd52 100644 --- a/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx +++ b/libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx @@ -71,6 +71,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { if (state.data !== null) { run(state.data, state.source, state.file) } + } else { + props.event.trigger('staticAnaysisWarning', []) + } return () => { } }, [state])