From 998b63a35256ac985a5a2714dd1ca451af4dfd8a Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 9 Oct 2024 00:41:20 -0700 Subject: chore(prettier): use spaces instead of tabs --- src/lib/Tools/InputTemplate.svelte | 114 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'src/lib/Tools/InputTemplate.svelte') diff --git a/src/lib/Tools/InputTemplate.svelte b/src/lib/Tools/InputTemplate.svelte index c81c12d5..72e2f807 100644 --- a/src/lib/Tools/InputTemplate.svelte +++ b/src/lib/Tools/InputTemplate.svelte @@ -1,71 +1,71 @@
-

- - { - if (e.key === 'Enter') { - submission = input; +

+ + { + if (e.key === 'Enter') { + submission = input; - onSubmit(); + onSubmit(); - // eslint-disable-next-line no-undef - if (event) umami.track(event); - } - }} - /> - + onSubmit(); + }} + title="Or click your Enter key" + data-umami-event={event} + > + {submitText} + - {#if hint !== undefined} -
-

- {hint} -
- {/if} -

+ {#if hint !== undefined} +
+
+ {hint} +
+ {/if} +

- {#if submission !== ''} - - {:else} -

+ {#if submission !== ''} + + {:else} +

- {prompt} - {/if} + {prompt} + {/if}

-- cgit v1.2.3