Skip to content

Commit

Permalink
refactor: remove providers:
Browse files Browse the repository at this point in the history
  • Loading branch information
katyastan committed Aug 29, 2024
1 parent 0c79f67 commit e8494e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/app/orders/components/order/order.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@
></button>
</ng-template>
</p-dialog>

<p-toast></p-toast>
2 changes: 0 additions & 2 deletions src/app/orders/components/order/order.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { CurrencyPipe } from '@angular/common';
import { HttpErrorResponse } from '@angular/common/http';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, Input, OnDestroy, OnInit } from '@angular/core';

import { MessageService } from 'primeng/api';
import { ButtonModule } from 'primeng/button';
import { DialogModule } from 'primeng/dialog';
import { ToastModule } from 'primeng/toast';
Expand All @@ -23,7 +22,6 @@ import { TripTimelineComponent } from '../../../home/components/trip-timeline/tr
templateUrl: './order.component.html',
styleUrl: './order.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [MessageService],
})
export class OrderComponent implements OnInit, OnDestroy {
@Input() public order!: Order;
Expand Down

0 comments on commit e8494e6

Please sign in to comment.