update label

pull/2262/head
yann300 3 years ago
parent 37e495e37d
commit fff0acc045
  1. 4
      apps/remix-ide/src/app/tabs/compile-and-run.ts
  2. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -66,10 +66,10 @@ export class CompileAndRun extends Plugin {
this.runScript(file, true)
_paq.push(['trackEvent', 'ScriptExecutor', 'run_script_after_compile'])
} else {
this.call('notification', 'toast', 'You have not set a script to run. Set it with @dev-run-script natspac tag.')
this.call('notification', 'toast', 'You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag.')
}
} else {
this.call('notification', 'toast', 'You have not set a script to run. Set it with @dev-run-script natspac tag.')
this.call('notification', 'toast', 'You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag.')
}
})
}

@ -632,7 +632,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
<Tooltip id="overlay-tooltip">
<div className="text-left">
<div>Ctrl+s for compiling</div>
<div>Ctrl+Shift+s for compiling and on the fly execution:</div>
<div>Ctrl+Shift+s for compiling and script execution:</div>
<div>choose the script to execute right after compilation by adding the `dev-run-script` natspec tag, as in:</div>
<pre>
<code>

Loading…
Cancel
Save