Skip to content

Commit

Permalink
feat: Updated projects/demo/src/modules/components
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Mar 29, 2024
1 parent 35c98c0 commit 20bcb56
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Component, inject, DestroyRef} from '@angular/core';
import {Component, inject} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
import {TuiSheetDialogService} from '@taiga-ui/addon-mobile';
Expand All @@ -10,7 +10,7 @@ import {Subject, switchMap} from 'rxjs';
templateUrl: './index.html',
encapsulation,
changeDetection,
providers: []

})
export class TuiSheetDialogExample1 {
protected readonly stream$ = new Subject<void>();
Expand All @@ -21,7 +21,7 @@ export class TuiSheetDialogExample1 {
switchMap(() =>
inject(TuiSheetDialogService).open('', {label: 'Simple sheet'}),
),
takeUntilDestroyed(inject(DestroyRef)),
// Replacement needed for takeUntilDestroyed(inject(DestroyRef))
)
.subscribe();
}
Expand Down

0 comments on commit 20bcb56

Please sign in to comment.