Skip to content

Commit daaea12

Browse files
committed
Update text
1 parent 645b2cd commit daaea12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ One way is to assign the subscription to a class property and manually unsubscri
6969
private subscription: Subscription;
7070
7171
ngOnInit() {
72-
this.subscription = timer(0, 1000)
73-
.subscribe(() => {
74-
this.counter++;
75-
this.titleService.setTitle('Counter ' + this.counter);
76-
});
72+
this.subscription = timer(0, 1000)
73+
.subscribe(() => {
74+
this.counter++;
75+
this.titleService.setTitle('Counter ' + this.counter);
76+
});
7777
}
7878
7979
ngOnDestroy() {

0 commit comments

Comments
 (0)