From 8b699da7213c25487f254ca98e6b005f82cf4812 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 12 Nov 2024 03:14:53 +0700 Subject: [PATCH] fix broken cpfp button --- .../transaction-details/transaction-details.component.html | 2 +- .../transaction-details/transaction-details.component.ts | 3 +-- .../src/app/components/transaction/transaction.component.html | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html index 7a355f38d..acadc8818 100644 --- a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html +++ b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.html @@ -280,7 +280,7 @@ - + diff --git a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts index fad607ffb..2b539c154 100644 --- a/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts +++ b/frontend/src/app/components/transaction/transaction-details/transaction-details.component.ts @@ -29,7 +29,6 @@ export class TransactionDetailsComponent implements OnInit { @Input() hasEffectiveFeeRate: boolean; @Input() cpfpInfo: CpfpInfo; @Input() hasCpfp: boolean; - @Input() showCpfpDetails: boolean; @Input() accelerationInfo: Acceleration; @Input() acceleratorAvailable: boolean; @Input() accelerateCtaType: string; @@ -51,7 +50,7 @@ export class TransactionDetailsComponent implements OnInit { this.accelerateClicked.emit(true); } - toggleCpfp(): void { + toggleCpfp(): void { this.toggleCpfp$.emit(); } } diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index 0016ebf5f..6dd6a134a 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -52,7 +52,6 @@ [hasEffectiveFeeRate]="hasEffectiveFeeRate" [cpfpInfo]="cpfpInfo" [hasCpfp]="hasCpfp" - [showCpfpDetails]="showCpfpDetails" [accelerationInfo]="accelerationInfo" [replaced]="replaced" [isCached]="isCached"