Merge pull request #1417 from ethereum/fix-compiler

Reset to default compiler after unchecking nightly builds
pull/5370/head
bunsenstraat 3 years ago committed by GitHub
commit f8b8184d25
  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