From f38881f3253b3a128154ffd95655859e3dc629dc Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Sun, 3 Nov 2024 21:43:00 -0500
Subject: Run spaces-style prettier formatting

---
 ui/routes/(login)/login/+page.svelte | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

(limited to 'ui/routes/(login)/login/+page.svelte')

diff --git a/ui/routes/(login)/login/+page.svelte b/ui/routes/(login)/login/+page.svelte
index 77c2d62..a1291ea 100644
--- a/ui/routes/(login)/login/+page.svelte
+++ b/ui/routes/(login)/login/+page.svelte
@@ -1,25 +1,25 @@
 <script>
-	import { goto } from '$app/navigation';
-	import { logIn } from '$lib/apiServer';
+  import { goto } from '$app/navigation';
+  import { logIn } from '$lib/apiServer';
 
-	import LogIn from '$lib/components/LogIn.svelte';
+  import LogIn from '$lib/components/LogIn.svelte';
 
-	let username = '',
-		password = '';
-	let pending = false;
-	$: disabled = pending;
+  let username = '',
+    password = '';
+  let pending = false;
+  $: disabled = pending;
 
-	async function onSubmit(event) {
-		event.preventDefault();
-		pending = true;
-		const response = await logIn(username, password);
-		if (200 <= response.status && response.status < 300) {
-			username = '';
-			password = '';
-			goto('/');
-		}
-		pending = false;
-	}
+  async function onSubmit(event) {
+    event.preventDefault();
+    pending = true;
+    const response = await logIn(username, password);
+    if (200 <= response.status && response.status < 300) {
+      username = '';
+      password = '';
+      goto('/');
+    }
+    pending = false;
+  }
 </script>
 
 <LogIn {disabled} bind:username bind:password onsubmit={onSubmit} />
-- 
cgit v1.2.3

