diff options
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
| -rw-r--r-- | src/components/InvoiceTypes.svelte | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte index cfde1285..b3c430a2 100644 --- a/src/components/InvoiceTypes.svelte +++ b/src/components/InvoiceTypes.svelte @@ -60,7 +60,7 @@ class:bg-base-300={type === types.lightning && $page.url.pathname.includes("/receive")} class:text-secondary={type === types.lightning && $page.url.pathname.includes("/receive")} class:hidden={activeOnly && - (type !== types.lightning || !$page.url.pathname.includes("/receive"))} + (type !== types.lightning || !$page.url.pathname.includes("/receive"))} onclick={() => { if (activeOnly) toggleType(); else { @@ -99,7 +99,7 @@ class:bg-base-300={type === types.lightning && !$page.url.pathname.includes("/receive")} class:text-secondary={type === types.lightning && !$page.url.pathname.includes("/receive")} class:hidden={activeOnly && - (type !== types.lightning || $page.url.pathname.includes("/receive"))} + (type !== types.lightning || $page.url.pathname.includes("/receive"))} onclick={() => { if (activeOnly) toggleType(); else { @@ -147,8 +147,6 @@ <div></div> <button type="button" class="btn" onclick={toggleType}> <iconify-icon noobserver icon="ph:x-bold" width="32"></iconify-icon> - <div class="my-auto"> - {t("payments.cancel")} - </div> + <div class="my-auto">{t("payments.cancel")}</div> </button> {/if} |
