diff --git a/src/app/components/shared/comment/comment.component.ts b/src/app/components/shared/comment/comment.component.ts index 9c1f980f10552e86479b8cbfa7eab5b6516a511a..2ccd1eb14fcd58af096c144d916dacfe19d1f1be 100644 --- a/src/app/components/shared/comment/comment.component.ts +++ b/src/app/components/shared/comment/comment.component.ts @@ -56,10 +56,10 @@ export class CommentComponent implements OnInit { langService.langEmitter.subscribe(lang => translateService.use(lang)); } - startAnimation(state: string) { - console.log(state); + startAnimation(state_:any) { + console.log(state_); if (!this.animationState) { - this.animationState = state; + this.animationState = state_; } }