Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdanielarthur-cowlabs committed May 6, 2024
1 parent 784db8c commit c86b593
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/bc-modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class Modal extends withTwind()(BitcoinConnectElement) {
class="absolute top-0 left-0 w-full h-full -z-10 ${classes[
'bg-foreground'
]} animate-darken"
@click=${this._handleClose}
></div>
<div
class="transition-all p-4 pt-6 pb-8 rounded-2xl shadow-2xl flex justify-center items-center w-full bg-white dark:bg-black max-w-md max-sm:rounded-b-none
Expand Down
2 changes: 1 addition & 1 deletion src/components/flows/bc-payment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class SendPaymentFlow extends withTwind()(BitcoinConnectElement) {

override render() {
return this._showConnect && !this.paid
? html` <bc-connect></bc-connect>`
? html` <bc-connect closable=${true}></bc-connect>`
: html`<div class="w-full flex-col justify-center items-center">
<bc-modal-header class="flex w-full" ?closable=${this.closable}>
<p
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ export const WebLNProviders = {
LnbitsWebLNProvider,
};

export {PaymentMethods} from './types/PaymentMethods';
export * from './types/PaymentMethods';

0 comments on commit c86b593

Please sign in to comment.