From f0253017693b844b997552b8181a1a5c6266606b Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Thu, 16 Sep 2021 19:01:00 +0530 Subject: [PATCH] fixed-ssr-refresh-issue --- .../angular-responsive-carousel/src/lib/carousel.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/angular-responsive-carousel/src/lib/carousel.component.ts b/projects/angular-responsive-carousel/src/lib/carousel.component.ts index af84b83..3baee08 100644 --- a/projects/angular-responsive-carousel/src/lib/carousel.component.ts +++ b/projects/angular-responsive-carousel/src/lib/carousel.component.ts @@ -256,7 +256,7 @@ export class CarouselComponent implements OnDestroy { } ngOnDestroy() { - this.touches.destroy(); + this.touches?.destroy(); //this.carousel.destroy(); }