Skip to content

Commit

Permalink
add missing custom_elements_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
RemcoSimonides committed Apr 23, 2024
1 parent 88a16e7 commit dc540b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnDestroy, ViewChild, ViewEncapsulation } from '@angular/core'
import { CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, OnDestroy, ViewChild, ViewEncapsulation } from '@angular/core'
import { CommonModule, DatePipe } from '@angular/common'
import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms'

Expand Down Expand Up @@ -38,7 +38,8 @@ import { IsTodayPipe, ToDatePipe } from '@strive/utils/pipes/date-fns.pipe'
IonTextarea,
IonButton,
IonIcon
]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class CardsComponent implements OnDestroy {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ type CropStep = 'drop' | 'hovering'

@Component({
standalone: true,
selector: '[form] strive-images-selector',
templateUrl: 'images-selector.component.html',
styleUrls: ['./images-selector.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.ShadowDom,
imports: [
CommonModule,
ImageOptionsPopoverComponent,
IonIcon
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
selector: '[form] strive-images-selector',
templateUrl: 'images-selector.component.html',
styleUrls: ['./images-selector.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.ShadowDom
})
export class ImagesSelectorComponent implements OnInit, OnDestroy {

Expand Down

0 comments on commit dc540b3

Please sign in to comment.