refactor(docs-infra): mark the update component as OnPush (#56254)

After inspecting and testing the adev-update-guide component it
seems like it could be marked as OnPush. This change gets us closer
to enabling zoneless for adev.

PR Close #56254
This commit is contained in:
Pawel Kozlowski 2024-06-04 13:08:28 +02:00 committed by Jessica Janiuk
parent b0546dad83
commit f0ea936630

View file

@ -1,4 +1,4 @@
import {Component, HostListener, inject} from '@angular/core';
import {ChangeDetectionStrategy, Component, HostListener, inject} from '@angular/core';
import {Step, RECOMMENDATIONS} from './recommendations';
import {Clipboard} from '@angular/cdk/clipboard';
import {CdkMenuModule} from '@angular/cdk/menu';
@ -31,6 +31,7 @@ interface Option {
IconComponent,
],
standalone: true,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export default class AppComponent {
protected title = '';