From 3a80abb78c79ebff4c37d73229b0c0cab5d9378a Mon Sep 17 00:00:00 2001 From: jaasen-livefront Date: Thu, 23 Oct 2025 17:36:07 -0700 Subject: [PATCH] use viewChild func --- libs/components/src/callout/callout.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/components/src/callout/callout.component.ts b/libs/components/src/callout/callout.component.ts index e944446b13c..b65e3995a37 100644 --- a/libs/components/src/callout/callout.component.ts +++ b/libs/components/src/callout/callout.component.ts @@ -6,7 +6,8 @@ import { input, signal, afterNextRender, - ViewChild, + viewChild, + TemplateRef, } from "@angular/core"; import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service"; @@ -67,7 +68,7 @@ export class CalloutComponent implements AfterViewInit { protected readonly titleId = `bit-callout-title-${nextId++}`; - @ViewChild("content", { static: false }) + readonly content = viewChild(TemplateRef); private contentRef!: ElementRef; readonly contentText = signal("");