diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html
index 6010fe47f..d6baf755d 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.html
@@ -21,10 +21,14 @@
+ ✖
\ No newline at end of file
diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
index e69de29bb..617147221 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.scss
@@ -0,0 +1,5 @@
+.close-button {
+ position: absolute;
+ top: 0.5em;
+ right: 0.5em;
+}
\ No newline at end of file
diff --git a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
index 0591e58a2..2de1aa34b 100644
--- a/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
+++ b/frontend/src/app/components/accelerate-checkout/accelerate-checkout.component.ts
@@ -1,4 +1,6 @@
-import { Component, OnInit, OnDestroy } from '@angular/core';
+import { Component, OnInit, OnDestroy, Output, EventEmitter, Input } from '@angular/core';
+import { Transaction } from '../../interfaces/electrs.interface';
+import { MempoolPosition } from '../../interfaces/node-api.interface';
@Component({
selector: 'app-accelerate-checkout',
@@ -6,6 +8,10 @@ import { Component, OnInit, OnDestroy } from '@angular/core';
styleUrls: ['./accelerate-checkout.component.scss']
})
export class AccelerateCheckout implements OnInit, OnDestroy {
+ @Input() tx: Transaction ;
+ @Input() eta: number;
+ @Output() close = new EventEmitter();
+
constructor() {
}
@@ -14,4 +20,9 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
ngOnDestroy() {
}
+
+ closeModal(): void {
+ console.log('close modal')
+ this.close.emit();
+ }
}