From 8e78f6f63d26cbd28a068cd5b55e6019fd13c3d4 Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Fri, 27 Sep 2024 14:28:12 +0300 Subject: [PATCH] chore: drop useless functional (#9219) --- projects/demo/src/modules/app/abstract.app.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/projects/demo/src/modules/app/abstract.app.ts b/projects/demo/src/modules/app/abstract.app.ts index b25e8ae63c6c..1c6e0ca9d780 100644 --- a/projects/demo/src/modules/app/abstract.app.ts +++ b/projects/demo/src/modules/app/abstract.app.ts @@ -7,8 +7,6 @@ import {TUI_DOC_PAGE_LOADED} from '@taiga-ui/addon-doc'; import {tuiInjectElement, tuiPure, tuiZonefreeScheduler} from '@taiga-ui/cdk'; import {debounceTime, map, type Observable, startWith} from 'rxjs'; -import {TUI_SELECTED_VERSION_META} from './version-manager/version-manager.providers'; - export const DEMO_PAGE_LOADED_PROVIDER = { provide: TUI_DOC_PAGE_LOADED, deps: [ElementRef, ResizeObserverService], @@ -38,9 +36,6 @@ export const DEMO_PAGE_LOADED_PROVIDER = { @Directive({ standalone: true, - host: { - '[attr.data-tui-major-version]': 'majorVersion', - }, }) export abstract class AbstractDemo implements OnInit { protected abstract readonly storage: Storage; @@ -48,8 +43,6 @@ export abstract class AbstractDemo implements OnInit { private readonly element = tuiInjectElement(); - protected readonly majorVersion = inject(TUI_SELECTED_VERSION_META)?.title; - protected readonly pageLoaded = inject(TUI_DOC_PAGE_LOADED) .pipe(takeUntilDestroyed()) .subscribe(() => this.element.classList.add('_loaded'));