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/MessageRun.svelte | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

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

diff --git a/ui/lib/components/MessageRun.svelte b/ui/lib/components/MessageRun.svelte
index af699ab..4894885 100644
--- a/ui/lib/components/MessageRun.svelte
+++ b/ui/lib/components/MessageRun.svelte
@@ -1,23 +1,24 @@
 <script>
-    import { logins, currentUser } from '$lib/store';
-    import Message from '$lib/components/Message.svelte';
+	import { logins, currentUser } from '$lib/store';
+	import Message from '$lib/components/Message.svelte';
 
-    export let sender;
-    export let messages;
+	export let sender;
+	export let messages;
 
-    let name;
-    $: name = $logins.get(sender);
-    $: ownMessage = $currentUser.id == sender;
+	let name;
+	$: name = $logins.get(sender);
+	$: ownMessage = $currentUser.id == sender;
 </script>
 
 <div
-        class="card card-hover m-4 px-4 py-1 relative"
-        class:own-message={ownMessage}
-        class:other-message={!ownMessage}>
-    <span class="chip variant-soft sticky top-o left-0">
-        @{name}:
-    </span>
-    {#each messages as { at, body }}
-        <Message {at} {body} />
-    {/each}
+	class="card card-hover m-4 px-4 py-1 relative"
+	class:own-message={ownMessage}
+	class:other-message={!ownMessage}
+>
+	<span class="chip variant-soft sticky top-o left-0">
+		@{name}:
+	</span>
+	{#each messages as { at, body }}
+		<Message {at} {body} />
+	{/each}
 </div>
-- 
cgit v1.2.3

