diff --git a/utils/smooth-scroll.ts b/utils/smooth-scroll.ts index 4b0b528a..0f43975c 100644 --- a/utils/smooth-scroll.ts +++ b/utils/smooth-scroll.ts @@ -66,8 +66,4 @@ export class SmoothScroll { clearInterval(this.interval); } } - - ngOnDestroy() { - this.clearSubscriptions(); - } }