Skip to content

Commit

Permalink
add changeDetection
Browse files Browse the repository at this point in the history
  • Loading branch information
FollowTheFlo committed Oct 19, 2023
1 parent 1783342 commit 03c6766
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -4,12 +4,18 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { Component, Input, inject } from '@angular/core';
import {
ChangeDetectionStrategy,
Component,
Input,
inject,
} from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';

@Component({
selector: 'cx-opf-cta-button',
templateUrl: './opf-cta-button.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class OpfCtaButtonComponent {
protected sanitizer = inject(DomSanitizer);

0 comments on commit 03c6766

Please sign in to comment.