update state when version changed

pull/1635/head
lianahus 3 years ago
parent 0ecd4a62c5
commit bd149720f3
  1. 2
      libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx

@ -391,7 +391,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const handleLoadVersion = (value) => {
setState(prevState => {
return { ...prevState, selectedVersion: value }
return { ...prevState, selectedVersion: value, matomoAutocompileOnce: true }
})
updateCurrentVersion(value)
_updateVersionSelector(value)

Loading…
Cancel
Save