correction if condition for tooltip

pull/5449/head
lianahus 2 months ago committed by Aniket
parent 80aae55684
commit 23de490a96
  1. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -985,7 +985,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
placement="top"
tooltipId="configfileOptimisationNumbeTooltip"
tooltipClasses="text-nowrap"
tooltipText={(state.optimize ? "Enable " : "Disable ") + "opcode-based optimizer for the generated bytecode and the Yul optimizer for the Yul code"}
tooltipText={(!state.optimize ? "Enable " : "Disable ") + "opcode-based optimizer for the generated bytecode and the Yul optimizer for the Yul code"}
>
<div className='custom-control custom-checkbox'>
<input

Loading…
Cancel
Save