fix compiler license loading

pull/2926/head
Aniket-Engg 2 years ago
parent 45418bc7d4
commit d8e9687dd2
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts

@ -281,7 +281,7 @@ export class Compiler {
} }
switch (data.cmd) { switch (data.cmd) {
case 'versionLoaded': case 'versionLoaded':
if (data.data && data.license) this.onCompilerLoaded(data.data, data.license) if (data.data) this.onCompilerLoaded(data.data, data.license)
break break
case 'compiled': case 'compiled':
{ {

Loading…
Cancel
Save