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/CreateChannelForm.svelte | 42 +++++++++++++++---------------
 1 file changed, 21 insertions(+), 21 deletions(-)

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

diff --git a/ui/lib/components/CreateChannelForm.svelte b/ui/lib/components/CreateChannelForm.svelte
index ac43925..afa3f78 100644
--- a/ui/lib/components/CreateChannelForm.svelte
+++ b/ui/lib/components/CreateChannelForm.svelte
@@ -1,30 +1,30 @@
 <script>
-	import { createChannel } from '$lib/apiServer';
+  import { createChannel } from '$lib/apiServer';
 
-	let name = $state('');
-	let pending = false;
-	let disabled = $derived(pending);
+  let name = $state('');
+  let pending = false;
+  let disabled = $derived(pending);
 
-	async function handleSubmit(event) {
-		event.preventDefault();
-		pending = true;
-		const response = await createChannel(name);
-		if (200 <= response.status && response.status < 300) {
-			name = '';
-		}
-		pending = false;
-	}
+  async function handleSubmit(event) {
+    event.preventDefault();
+    pending = true;
+    const response = await createChannel(name);
+    if (200 <= response.status && response.status < 300) {
+      name = '';
+    }
+    pending = false;
+  }
 </script>
 
 <form onsubmit={handleSubmit} class="form form-row flex-nowrap">
-	<input
-		type="text"
-		placeholder="create channel"
-		bind:value={name}
-		{disabled}
-		class="input flex-auto h-6 w-9/12"
-	/>
-	<button type="submit" class="flex-none w-6 h-6">&#x2795;</button>
+  <input
+    type="text"
+    placeholder="create channel"
+    bind:value={name}
+    {disabled}
+    class="input flex-auto h-6 w-9/12"
+  />
+  <button type="submit" class="flex-none w-6 h-6">&#x2795;</button>
 </form>
 
 <style>
-- 
cgit v1.2.3

