File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
libs/remix-ui/static-analyser/src/lib Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -554,6 +554,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
554554 props . event . trigger ( "staticAnalysisWarning" , [ - 1 ] )
555555 } else {
556556 setBasicEnabled ( true )
557+ if ( ! solhintEnabled ) {
558+ setSelectedTab ( "remix" )
559+ }
557560 props . analysisModule . basicEnabled = true
558561 props . event . trigger ( "staticAnalysisWarning" , [ - 1 ] )
559562 }
@@ -569,6 +572,9 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
569572 props . event . trigger ( "staticAnalysisWarning" , [ - 1 ] )
570573 } else {
571574 setSolhintEnabled ( true )
575+ if ( ! basicEnabled ) {
576+ setSelectedTab ( "solhint" )
577+ }
572578 props . analysisModule . solhintEnabled = true
573579 props . event . trigger ( "staticAnalysisWarning" , [ - 1 ] )
574580 }
You can’t perform that action at this time.
0 commit comments