From f96f35b09a8b05169ad822da45d6e4485af81136 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 29 Nov 2024 11:46:47 -0800 Subject: make amounts copyable --- src/components/Amount.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/components') diff --git a/src/components/Amount.svelte b/src/components/Amount.svelte index 7efafca8..b2e7cd3a 100644 --- a/src/components/Amount.svelte +++ b/src/components/Amount.svelte @@ -1,5 +1,5 @@ @@ -7,10 +7,10 @@ {#if amount}

-
+
copy(amount)}> {s(amount, locale)}
@@ -25,8 +25,9 @@ {/if}

copy(toFiat(amount, rate).toFixed(2))} > {f(toFiat(amount, rate), currency, locale)} {#if tip} -- cgit v1.2.3