pull/3321/head^2
filip mertens 2 years ago committed by Aniket
parent e69d217f03
commit adcd267712
  1. 4
      apps/remix-ide/src/app/plugins/solidity-umlgen.tsx

@ -60,7 +60,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen {
await this.call('fileManager', 'writeFile', fileName, payload) await this.call('fileManager', 'writeFile', fileName, payload)
this.updatedSvg = payload //test this.updatedSvg = payload //test
console.log({ payload }) console.log({ payload })
this.updateComponent({ ...this, updateSvg: payload }) this.renderComponent()
// await this.showUmlDiagram(fileName, payload) // await this.showUmlDiagram(fileName, payload)
}) })
} }
@ -95,7 +95,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen {
this.currentFile = path this.currentFile = path
this.updatedSvg = svgPayload this.updatedSvg = svgPayload
} }
this.renderComponent()
} }
setDispatch (dispatch: React.Dispatch<any>) { setDispatch (dispatch: React.Dispatch<any>) {

Loading…
Cancel
Save