fix run button tooltip text

pull/5370/head
Joseph Izang 1 year ago
parent e06ee92df8
commit a8e1c08ab6
  1. 4
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -81,7 +81,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
const warningContainer = useRef(null)
const allWarnings = useRef({})
const [state, dispatch] = useReducer(analysisReducer, initialState)
const [runButtonTitle, setRunButtonTitle] = useState<string>(`Analyse`)
const [runButtonTitle, setRunButtonTitle] = useState<string>(`Run analysis`)
/**
* Disable static analysis for contracts whose compiler version is
@ -98,7 +98,7 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => {
setRunButtonTitle('Select Solidity compiler version greater than 0.4.12.')
} else {
setIsSupportedVersion(true)
setRunButtonTitle('Run Analysis')
setRunButtonTitle('Run analysis')
}
}

Loading…
Cancel
Save