diff --git a/src/components/flows/bc-connect.ts b/src/components/flows/bc-connect.ts index 56ca538..5947a85 100644 --- a/src/components/flows/bc-connect.ts +++ b/src/components/flows/bc-connect.ts @@ -29,8 +29,19 @@ export class ConnectFlow extends withTwind()(BitcoinConnectElement) { closable?: boolean; override render() { - return html`
+ ? html`
${this._error}
` : null} diff --git a/src/components/flows/bc-payment.ts b/src/components/flows/bc-payment.ts index 0be8dc7..e93c0c3 100644 --- a/src/components/flows/bc-payment.ts +++ b/src/components/flows/bc-payment.ts @@ -66,15 +66,36 @@ export class SendPaymentFlow extends withTwind()(BitcoinConnectElement) { override render() { return this._showConnect && !this.paid - ? html`Payment Request
+ ? html`
${this._error}
` : null} diff --git a/src/components/pages/bc-send-payment.ts b/src/components/pages/bc-send-payment.ts index e69d479..f98d5f9 100644 --- a/src/components/pages/bc-send-payment.ts +++ b/src/components/pages/bc-send-payment.ts @@ -63,15 +63,19 @@ export class SendPayment extends withTwind()(BitcoinConnectElement) { private renderHeading(decodedInvoice: Invoice) { return html` -Paid!
${successAnimation} @@ -91,7 +95,7 @@ export class SendPayment extends withTwind()(BitcoinConnectElement) { private renderPayingState() { return html` -Paying...
${waitingIcon(`w-48 h-48 ${classes['text-brand-mixed']}`)}Waiting for payment