ensure result visibility is correctly dependent on desired checked tool

pull/5370/head
Joseph Izang 1 year ago
parent ccc5bdd984
commit 0b3054913c
  1. 6
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -1133,13 +1133,13 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
<Tab.Content>
<Tab.Pane eventKey={tabKeys[1].tabKey}>
{tabKeys[1].child}
{basicEnabled ? tabKeys[1].child : null}
</Tab.Pane>
<Tab.Pane eventKey={tabKeys[0].tabKey}>
{tabKeys[0].child}
{solhintEnabled ? tabKeys[0].child : null}
</Tab.Pane>
<Tab.Pane eventKey={tabKeys[2].tabKey}>
{tabKeys[2].child}
{slitherEnabled && showSlither ? tabKeys[2].child : null}
</Tab.Pane>
</Tab.Content>
</TabContainer>

Loading…
Cancel
Save