fix point 6

pull/3838/head
Joseph Izang 1 year ago
parent 21d37c5686
commit 37ff1d75fe
  1. 4
      libs/remix-ui/static-analyser/src/lib/remix-ui-static-analyser.tsx

@ -409,7 +409,6 @@ useEffect(() => {
const handleBasicEnabled = () => {
if (basicEnabled) {
console.log('remix is: ', { basicEnabled })
setBasicEnabled(false)
if (solhintEnabled) {
setSelectedTab('solhint')
@ -424,6 +423,9 @@ useEffect(() => {
const handleLinterEnabled = () => {
if (solhintEnabled) {
setSolhintEnabled(false)
if (basicEnabled) {
setSelectedTab('remix')
}
props.event.trigger('staticAnalysisWarning', [-1])
} else {
setSolhintEnabled(true)

Loading…
Cancel
Save