fix compiler license loading

pull/5370/head
Aniket-Engg 2 years ago
parent 20049cbce1
commit 9d3c9a6b1a
  1. 2
      libs/remix-solidity/src/compiler/compiler.ts

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

Loading…
Cancel
Save