Skip to content

Commit

Permalink
Fix breaking change after inversify update (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
msujew committed Jul 4, 2023
1 parent a23c6e2 commit 8e0869f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/widget/widget.tsx
Expand Up @@ -15,7 +15,11 @@ export class <%= params.extensionPrefix %>Widget extends ReactWidget {
protected readonly messageService!: MessageService;

@postConstruct()
protected async init(): Promise < void> {
protected init(): void {
this.doInit()
}

protected async doInit(): Promise <void> {
this.id = <%= params.extensionPrefix %>Widget.ID;
this.title.label = <%= params.extensionPrefix %>Widget.LABEL;
this.title.caption = <%= params.extensionPrefix %>Widget.LABEL;
Expand Down

0 comments on commit 8e0869f

Please sign in to comment.