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) => {
460460 const errs = Array . isArray ( fresh . errors ) ? fresh . errors . filter ( ( e : any ) => ( e . severity || e . type ) === 'error' ) : [ ]
461461 setCompileState ( errs . length ? 'idle' : 'compiled' )
462462 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 )
465465 }
466466 settledSeqRef . current = mySeq
467467 return
468468 }
469469 }
470470 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 )
473473 settledSeqRef . current = mySeq
474474 try { props . plugin . off ( compilerName , 'compilationFinished' ) } catch { }
475475 } , 3000 )
You can’t perform that action at this time.
0 commit comments