From ef30f835d04038a1cbec06fbe35a70037e926cd6 Mon Sep 17 00:00:00 2001
From: Matt Strapp <matt@mattstrapp.net>
Date: Thu, 28 Sep 2023 08:42:25 -0500
Subject: Lint

Signed-off-by: Matt Strapp <matt@mattstrapp.net>
---
 app/src/routes/truncate/+page.svelte | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'app/src/routes/truncate/+page.svelte')

diff --git a/app/src/routes/truncate/+page.svelte b/app/src/routes/truncate/+page.svelte
index 9e2545f..1b37f56 100644
--- a/app/src/routes/truncate/+page.svelte
+++ b/app/src/routes/truncate/+page.svelte
@@ -1,5 +1,5 @@
 <script lang="ts">
-    import saveFile from '$lib/ts/download';
+  import saveFile from '$lib/ts/download';
   import type { TruncateRequest, TruncateResponse } from '$lib/types/truncate-worker';
   import { FileDropzone, ProgressBar } from '@skeletonlabs/skeleton';
   import { onMount } from 'svelte';
@@ -16,7 +16,7 @@
     originalName = files[0].name;
     worker.postMessage({
       file: files[0],
-      size: truncateTo,
+      size: truncateTo
     } as TruncateRequest);
     form.reset();
     truncateTo = 1;
@@ -27,7 +27,6 @@
     worker.onmessage = (e: MessageEvent<TruncateResponse>) => {
       disableInput = false;
       saveFile(e.data.file, `trunc-${originalName}`);
-
     };
   });
 </script>
@@ -56,8 +55,14 @@
       <br />
       <label class="label">
         <span>Truncate up to... (in bytes)</span>
-        <input class="input" type="number" name="truncateTo" bind:value={truncateTo} min="1" required />
-
+        <input
+          class="input"
+          type="number"
+          name="truncateTo"
+          bind:value={truncateTo}
+          min="1"
+          required
+        />
       </label>
       <br />
       <noscript>
-- 
cgit v1.2.3

