Skip to content

Commit

Permalink
#1341-added :void
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Spratt committed Aug 19, 2022
1 parent 675535f commit eb5c48e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion udmif/web/src/app/devices/devices.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class DevicesComponent implements OnInit, OnDestroy {
});
}

ngOnDestroy() {
ngOnDestroy(): void {
this.devicesSubscription.unsubscribe(); // cleanup
}

Expand Down
2 changes: 1 addition & 1 deletion udmif/web/src/app/sites/sites.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class SitesComponent implements OnInit, OnDestroy {
});
}

ngOnDestroy() {
ngOnDestroy(): void {
this.sitesSubscription.unsubscribe(); // cleanup
}

Expand Down

0 comments on commit eb5c48e

Please sign in to comment.