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/Message.svelte | 44 ++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 22 deletions(-)

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

diff --git a/ui/lib/components/Message.svelte b/ui/lib/components/Message.svelte
index b71cf3c..9376cbe 100644
--- a/ui/lib/components/Message.svelte
+++ b/ui/lib/components/Message.svelte
@@ -1,33 +1,33 @@
 <script>
-    import { marked } from 'marked';
-    import DOMPurify from 'dompurify';
+	import { marked } from 'marked';
+	import DOMPurify from 'dompurify';
 
-    export let at;
-    export let body;
+	export let at;
+	export let body;
 
-    $: renderedBody = DOMPurify.sanitize(marked.parse(body));
+	$: renderedBody = DOMPurify.sanitize(marked.parse(body));
 
-    let scroll = (message) => {
-        message.scrollIntoView();
-    }
+	let scroll = (message) => {
+		message.scrollIntoView();
+	};
 </script>
 
 <div class="message relative">
-    <span class="timestamp chip variant-soft absolute top-0 right-0">{at}</span>
-    <section use:scroll class="py-1 message-body">
-        {@html renderedBody}
-    </section>
+	<span class="timestamp chip variant-soft absolute top-0 right-0">{at}</span>
+	<section use:scroll class="py-1 message-body">
+		{@html renderedBody}
+	</section>
 </div>
 
 <style>
-    .message .timestamp {
-        display: none;
-    }
-    .message:hover .timestamp {
-        display: flex;
-    }
-    .message-body:empty:after {
-        content: ".";
-        visibility: hidden;
-    }
+	.message .timestamp {
+		display: none;
+	}
+	.message:hover .timestamp {
+		display: flex;
+	}
+	.message-body:empty:after {
+		content: '.';
+		visibility: hidden;
+	}
 </style>
-- 
cgit v1.2.3

