Skip to content

Commit

Permalink
change change detection strategy of confirm dialog to onpush
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Oct 3, 2023
1 parent 9476a3e commit 69bd8d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { Component } from '@angular/core';
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { MatDialogRef } from '@angular/material/dialog';

@Component({
selector: 'app-confirm-dialog',
templateUrl: './confirm-dialog.component.html',
styleUrls: ['./confirm-dialog.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ConfirmDialogComponent {
constructor(public dialogRef: MatDialogRef<ConfirmDialogComponent>) {}
Expand Down

0 comments on commit 69bd8d2

Please sign in to comment.