{#snippet title()}
Pay with Lightning
{/snippet} {#snippet info()} Use your Nostr wallet to send Bitcoin payments over lightning. {/snippet}
{#if invoice}
{#if $session?.wallet?.type === "webln" && invoice.satoshi === 0}

Uh oh! It looks like your current wallet doesn't support invoices without an amount. See if you can get a lightning invoice with a pre-set amount.

{:else} {#snippet label()} Amount (satoshis) {/snippet} {#snippet input()}
{/snippet}

You're about to pay a bitcoin lightning invoice with the following description: {invoice.description || "[no description]"}"

{/if}
{:else}

To make a payment, scan a lightning invoice with your camera.

{/if}