msg updated

pull/2638/head^2
Aniket-Engg 2 years ago committed by Aniket
parent 310639a7da
commit 78ffdde1cb
  1. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -376,7 +376,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const compilerPath = state.allversions.filter(obj => !obj.prerelease && obj.version === compilerToLoad)[0].path const compilerPath = state.allversions.filter(obj => !obj.prerelease && obj.version === compilerToLoad)[0].path
if (state.selectedVersion !== compilerPath) { if (state.selectedVersion !== compilerPath) {
// @ts-ignore // @ts-ignore
api.call('notification', 'toast', `updating compiler to best suited version according to pragma i.e ${_retrieveVersion(compilerPath)}`) api.call('notification', 'toast', `Updating compiler version to match current contract file pragma i.e ${_retrieveVersion(compilerPath)}`)
setState((prevState) => { setState((prevState) => {
return { ...prevState, selectedVersion: compilerPath } return { ...prevState, selectedVersion: compilerPath }
}) })

Loading…
Cancel
Save