From 55520fb41f7786d4693b9ca262efe943cc85f1f1 Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Sat, 24 Dec 2022 10:08:26 -0500 Subject: [PATCH] Automatic call to backToShop() removed from Invoice Component --- src/app/invoice/invoice.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/invoice/invoice.component.ts b/src/app/invoice/invoice.component.ts index 77489e5..b882eda 100644 --- a/src/app/invoice/invoice.component.ts +++ b/src/app/invoice/invoice.component.ts @@ -16,7 +16,8 @@ var Buffer = require('buffer/').Buffer; selector: 'app-invoice', templateUrl: './invoice.component.html', styleUrls: ['./invoice.component.css'] -}) +}); + export class InvoiceComponent implements OnInit { faCheck = faCheck; faHourglass = faHourglass; @@ -95,7 +96,6 @@ export class InvoiceComponent implements OnInit { } ngOnInit(): void { - setTimeout(() => this.backToShop(), 10000); } backToShop() {