aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceTypes.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
committerAdam Soltys <[email protected]>2026-02-11 23:02:30 -0800
commit2e61e8abbc318c36969cb5add0c63df81135b4ab (patch)
tree706396b41da448f0172719313fb6ae30ecebb004 /src/components/InvoiceTypes.svelte
parent56a04684c1fb77ea7b21afc6b0d2e1c4773906f6 (diff)
downloadcoinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.tar.gz
coinos-ui-2e61e8abbc318c36969cb5add0c63df81135b4ab.zip
formatting
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
-rw-r--r--src/components/InvoiceTypes.svelte8
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}