aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceTypes.svelte
diff options
context:
space:
mode:
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}