Merge pull request #1417 from ethereum/fix-compiler

Reset to default compiler after unchecking nightly builds
pull/1419/head
bunsenstraat 3 years ago committed by GitHub
commit 3a9d68a4f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -449,6 +449,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const handleNightliesChange = (e) => {
const checked = e.target.checked
if (!checked) handleLoadVersion(state.defaultVersion)
config.set('includeNightlies', checked)
setState(prevState => {
return { ...prevState, includeNightlies: checked }

Loading…
Cancel
Save