aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceTypes.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-22 23:09:36 -0800
committerAdam Soltys <[email protected]>2024-12-22 23:09:36 -0800
commitab82b405be6f2665c43518b4ad253becc8ab7430 (patch)
tree6e6fa488e6d78aa15f38da081b203423e4bb9d92 /src/components/InvoiceTypes.svelte
parente2fcfdc4d608e260bb596952d8b54a7dcef05258 (diff)
downloadcoinos-ui-ab82b405be6f2665c43518b4ad253becc8ab7430.tar.gz
coinos-ui-ab82b405be6f2665c43518b4ad253becc8ab7430.zip
set memo
Diffstat (limited to 'src/components/InvoiceTypes.svelte')
-rw-r--r--src/components/InvoiceTypes.svelte13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte
index a0a1fc12..00b5cfb3 100644
--- a/src/components/InvoiceTypes.svelte
+++ b/src/components/InvoiceTypes.svelte
@@ -1,6 +1,7 @@
<script>
+ import { types } from "$lib/utils";
import { goto } from "$app/navigation";
- let { aid, invoice, user, type, types, t, setType } = $props();
+ let { aid, invoice, user, type, t, setType } = $props();
</script>
{#if invoice.uid === aid}
@@ -89,14 +90,4 @@
</div>
<div class="my-auto text-lg">Bolt 12</div>
</button>
-
- {#if type === types.liquid}
- <div class="flex justify-center">
- <div class="my-auto text-xl text-center text-secondary">
- {t("payments.onlyLbtc")}
- <span class="text-teal-500 font-bold">L-BTC</span>,
- {t("payments.dontDeposit")}
- </div>
- </div>
- {/if}
{/if}