File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
libs/remix-ui/tabs/src/lib Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -460,16 +460,16 @@ export const TabsUI = (props: TabsUIProps) => {
460
460
const errs = Array . isArray ( fresh . errors ) ? fresh . errors . filter ( ( e : any ) => ( e . severity || e . type ) === 'error' ) : [ ]
461
461
setCompileState ( errs . length ? 'idle' : 'compiled' )
462
462
if ( errs . length ) {
463
- await props . plugin . call ( 'manager' , 'activatePlugin' , 'solidity' )
464
- await props . plugin . call ( 'menuicons' , 'select' , 'solidity' )
463
+ await props . plugin . call ( 'manager' , 'activatePlugin' , compilerName )
464
+ await props . plugin . call ( 'menuicons' , 'select' , compilerName )
465
465
}
466
466
settledSeqRef . current = mySeq
467
467
return
468
468
}
469
469
}
470
470
setCompileState ( 'idle' )
471
- await props . plugin . call ( 'manager' , 'activatePlugin' , 'solidity' )
472
- await props . plugin . call ( 'menuicons' , 'select' , 'solidity' )
471
+ await props . plugin . call ( 'manager' , 'activatePlugin' , compilerName )
472
+ await props . plugin . call ( 'menuicons' , 'select' , compilerName )
473
473
settledSeqRef . current = mySeq
474
474
try { props . plugin . off ( compilerName , 'compilationFinished' ) } catch { }
475
475
} , 3000 )
You can’t perform that action at this time.
0 commit comments