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'));