|
|
@ -86,7 +86,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { |
|
|
|
this.renderComponent() |
|
|
|
this.renderComponent() |
|
|
|
await this.call('tabs', 'focus', 'solidityumlgen') |
|
|
|
await this.call('tabs', 'focus', 'solidityumlgen') |
|
|
|
} catch (error) { |
|
|
|
} catch (error) { |
|
|
|
console.log({ error }) |
|
|
|
const logError = { error } |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.on('theme', 'themeChanged', (theme) => { |
|
|
|
this.on('theme', 'themeChanged', (theme) => { |
|
|
@ -169,7 +169,6 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { |
|
|
|
renderComponent () { |
|
|
|
renderComponent () { |
|
|
|
this.dispatch({ |
|
|
|
this.dispatch({ |
|
|
|
...this, |
|
|
|
...this, |
|
|
|
plugin: this, |
|
|
|
|
|
|
|
updatedSvg: this.updatedSvg, |
|
|
|
updatedSvg: this.updatedSvg, |
|
|
|
loading: this.loading, |
|
|
|
loading: this.loading, |
|
|
|
themeSelected: this.currentlySelectedTheme, |
|
|
|
themeSelected: this.currentlySelectedTheme, |
|
|
@ -180,7 +179,6 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { |
|
|
|
|
|
|
|
|
|
|
|
updateComponent(state: any) { |
|
|
|
updateComponent(state: any) { |
|
|
|
return <RemixUiSolidityUmlGen |
|
|
|
return <RemixUiSolidityUmlGen |
|
|
|
plugin={state} |
|
|
|
|
|
|
|
updatedSvg={state.updatedSvg} |
|
|
|
updatedSvg={state.updatedSvg} |
|
|
|
loading={state.loading} |
|
|
|
loading={state.loading} |
|
|
|
themeSelected={state.currentlySelectedTheme} |
|
|
|
themeSelected={state.currentlySelectedTheme} |
|
|
|