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 98717cccfa..dda3c2c023 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 @@ -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(`${state && state.data && state.file.length > 0 ? 'Run analysis': 'To run analysis tools, first compile a contract.'}`) } } @@ -651,11 +651,11 @@ export const RemixUiStaticAnalyser = (props: RemixUiStaticAnalyserProps) => { label="Slither" onChange={() => {}} optionalClassName="mr-3" - title="To run Slither analysis, you must activate remixd and connect remix ide to your local file system." + title="To run Slither analysis, Remix IDE must be connected to your local filesystem with remixd." />