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/lib/components/CurrentUser.svelte | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

(limited to 'ui/lib/components/CurrentUser.svelte')

diff --git a/ui/lib/components/CurrentUser.svelte b/ui/lib/components/CurrentUser.svelte
index 46c76b0..56bf915 100644
--- a/ui/lib/components/CurrentUser.svelte
+++ b/ui/lib/components/CurrentUser.svelte
@@ -1,25 +1,25 @@
 <script>
-	import { goto } from '$app/navigation';
-	import { logOut } from '$lib/apiServer';
-	import { currentUser } from '$lib/store';
+  import { goto } from '$app/navigation';
+  import { logOut } from '$lib/apiServer';
+  import { currentUser } from '$lib/store';
 
-	async function handleLogout(event) {
-		event.preventDefault();
-		const response = await logOut();
-		if (200 <= response.status && response.status < 300) {
-			currentUser.update(() => null);
-			goto('/login');
-		}
-	}
+  async function handleLogout(event) {
+    event.preventDefault();
+    const response = await logOut();
+    if (200 <= response.status && response.status < 300) {
+      currentUser.update(() => null);
+      goto('/login');
+    }
+  }
 </script>
 
 <form onsubmit={handleLogout}>
-	{#if $currentUser}
-		<a href="/me">@{$currentUser.username}</a>
-	{/if}
-	<button class="border-slate-500 border-solid border-2 font-bold p-1 rounded" type="submit"
-		>log out</button
-	>
+  {#if $currentUser}
+    <a href="/me">@{$currentUser.username}</a>
+  {/if}
+  <button class="border-slate-500 border-solid border-2 font-bold p-1 rounded" type="submit"
+    >log out</button
+  >
 </form>
 
 <style>
-- 
cgit v1.2.3

