From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sat, 2 Nov 2024 20:02:24 -0400
Subject: Run prettier, make lint part of pre-commit

---
 ui/lib/components/Invites.svelte | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

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

diff --git a/ui/lib/components/Invites.svelte b/ui/lib/components/Invites.svelte
index df51afb..bfaf2b6 100644
--- a/ui/lib/components/Invites.svelte
+++ b/ui/lib/components/Invites.svelte
@@ -4,25 +4,21 @@
 	import Invite from '$lib/components/Invite.svelte';
 
 	let invites = writable([]);
-	$: $invites, console.log("invites", $invites);
+	$: $invites, console.log('invites', $invites);
 
 	async function onSubmit() {
 		let response = await createInvite();
 		if (response.status == 200) {
-			invites.update(val => [...val, response.data]);
+			invites.update((val) => [...val, response.data]);
 		}
 	}
 </script>
 
 <ul>
 	{#each $invites as invite}
-	<li><Invite id={invite.id} /></li>
+		<li><Invite id={invite.id} /></li>
 	{/each}
 </ul>
 <form on:submit|preventDefault={onSubmit}>
-	<button
-		class="btn variant-filled"
-		type="submit">
-		Create Invitation
-	</button>
+	<button class="btn variant-filled" type="submit"> Create Invitation </button>
 </form>
-- 
cgit v1.2.3

