From 393001e1f0f14a0349348c7f1d5e6132c15a0d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mar=C3=ADn?= Date: Fri, 15 Mar 2024 19:57:16 +0100 Subject: [PATCH] refactor: replace @ViewChild with signal counterpart --- .../channel/ng-talk-channel.component.ts | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/projects/ng-talk/src/lib/components/channel/ng-talk-channel.component.ts b/projects/ng-talk/src/lib/components/channel/ng-talk-channel.component.ts index 554171d..d96270b 100644 --- a/projects/ng-talk/src/lib/components/channel/ng-talk-channel.component.ts +++ b/projects/ng-talk/src/lib/components/channel/ng-talk-channel.component.ts @@ -1,21 +1,6 @@ import {CdkDrag, CdkDragEnd, CdkDragMove} from '@angular/cdk/drag-drop'; import {NgComponentOutlet} from "@angular/common"; -import { - AfterViewInit, - Component, - DestroyRef, - ElementRef, - EventEmitter, - Input, - OnChanges, - OnInit, - Output, - QueryList, - signal, - SimpleChanges, - ViewChild, viewChildren, - ViewChildren -} from '@angular/core'; +import {AfterViewInit, Component, DestroyRef, ElementRef, EventEmitter, Input, OnChanges, OnInit, Output, signal, SimpleChanges, ViewChild, viewChildren} from '@angular/core'; import {takeUntilDestroyed} from "@angular/core/rxjs-interop"; import {Subscription} from 'rxjs'; import {InViewportDirective} from '../../directives/in-viewport.directive';