From 6ccc6f60fc85e665c8a07a169efbe8d09c9d9e8e Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Tue, 31 May 2022 01:09:58 +0200
Subject: Lint, rm unused code

---
 src/lib/components/topic/topic.svelte | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

(limited to 'src/lib/components/topic/topic.svelte')

diff --git a/src/lib/components/topic/topic.svelte b/src/lib/components/topic/topic.svelte
index 0715857..7fb4101 100644
--- a/src/lib/components/topic/topic.svelte
+++ b/src/lib/components/topic/topic.svelte
@@ -17,14 +17,21 @@
 		{#if topic.forum}
 			<span class="topic-location">
 				{$_('topic.category_location')}
-				<a href="/f/{topic.forum.id}" class="p-category underline text-blue-600 visited:text-purple-500">
+				<a
+					href="/f/{topic.forum.id}"
+					class="p-category underline text-blue-600 visited:text-purple-500"
+				>
 					{topic.forum.glyph}
 					{$_(topic.forum.label)}
 				</a>.
 			</span>
 		{/if}
 		<span class="topic-ttl">
-			<a class="u-url u-uid underline text-blue-600 visited:text-purple-500" title={$_('topic.permalink_title')} href="/t/{topic.id}">
+			<a
+				class="u-url u-uid underline text-blue-600 visited:text-purple-500"
+				title={$_('topic.permalink_title')}
+				href="/t/{topic.id}"
+			>
 				({$_('topic.remaining_time', {
 					values: { remaining: $_(remaining.label, { values: { count: remaining.count } }) }
 				})})
@@ -37,13 +44,13 @@
 			{#each topic.tags as tag}
 				<a href="/g/{tag.tag}" class="p-category underline text-blue-600 visited:text-purple-500">
 					{tag.tag}<span class="tag-weight">({tag.count})</span></a
-      >{' '}
+				>{' '}
 			{/each}
 		</aside>
 	{/if}
 	{#if topic.posts}
-    {#each topic.posts as post, index}
-      <Post {post} {index} count={topic.posts.length} />
-    {/each}
+		{#each topic.posts as post, index}
+			<Post {post} {index} count={topic.posts.length} />
+		{/each}
 	{/if}
 </div>
-- 
cgit 

