diff --git a/src/app/create-comment/create-comment.component.ts b/src/app/create-comment/create-comment.component.ts index fae17afe2c4a01b242f53cfe13b1d9be1069c758..73e69402cc3109f3681a5616058c05b157ad297e 100644 --- a/src/app/create-comment/create-comment.component.ts +++ b/src/app/create-comment/create-comment.component.ts @@ -45,7 +45,7 @@ export class CreateCommentComponent implements OnInit { subject: subject, body: body, creationTimestamp: new Date(Date.now()) - } as Comment).subscribe(room => { + } as Comment).subscribe(() => { this.router.navigate([`/participant/room/${this.room.id}`]); this.notification.show(`Comment '${subject}' successfully created.`); });