Reset to default compiler after unchecking nightly builds

pull/1417/head
ioedeveloper 3 years ago
parent adaf3acf47
commit 82e6001cbf
  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