aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Tip.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Tip.svelte')
-rw-r--r--src/components/Tip.svelte12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/components/Tip.svelte b/src/components/Tip.svelte
index c915da80..7e2df7f4 100644
--- a/src/components/Tip.svelte
+++ b/src/components/Tip.svelte
@@ -6,7 +6,15 @@
import { tick } from 'svelte';
import { goto } from '$app/navigation';
- export let amountFiat, showMobileTip, tipPercent, tipAmount, amount, currency, tip, username, rate;
+ export let amountFiat,
+ showMobileTip,
+ tipPercent,
+ tipAmount,
+ amount,
+ currency,
+ tip,
+ username,
+ rate;
const tipAmounts = ['No thanks', '10%', '15%', '20%'];
let showCustomAmount;
@@ -150,7 +158,7 @@
on:input={(e) => handleCustomTipAmount(e)}
class="pl-10"
placeholder="Custom amount"
- autofocus
+ autofocus
/>
<button
type="submit"