X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/c1bc5993a694f6fd047a3881351827058042483b..879fa389c2592760def75177eefbd3193e1845c9:/src/components/topic_summary/topic_summary.svelte?ds=inline

diff --git a/src/components/topic_summary/topic_summary.svelte b/src/components/topic_summary/topic_summary.svelte
index deef3e2..5f2678b 100644
--- a/src/components/topic_summary/topic_summary.svelte
+++ b/src/components/topic_summary/topic_summary.svelte
@@ -1,16 +1,24 @@
 <script>
-  export let topic;
+	export let topic;
 
-  import { _ } from 'svelte-i18n';
-  import { readableTime } from '../../utils/readable_time.js';
+	import { _ } from 'svelte-i18n';
+	import { readableTime } from '$/utils/readable_time.js';
 
-  $: remainingTime = (topic.updated_at + topic.ttl) - Date.now();
-  $: remaining = readableTime(remainingTime);
+	$: remainingTime = topic.updated_at + topic.ttl - Date.now();
+	$: remaining = readableTime(remainingTime);
 </script>
 
-<li class="h-entry" title="{$_('topic.title')}">
-  <span class="p-name"><a class="u-url u-uid" title="{$_('topic.permalink_title')}" href="/t/{topic.id}">{topic.title}</a></span>
-  <span class="topic-ttl">({$_('topic.remaining_time', { values: { remaining: $_(remaining.label, { values: { count: remaining.count } }) } })})</span>
+<li class="h-entry" title={$_('topic.title')}>
+	<span class="p-name"
+		><a class="u-url u-uid" title={$_('topic.permalink_title')} href="/t/{topic.id}"
+			>{topic.title}</a
+		></span
+	>
+	<span class="topic-ttl"
+		>({$_('topic.remaining_time', {
+			values: { remaining: $_(remaining.label, { values: { count: remaining.count } }) }
+		})})</span
+	>
 </li>
 
 <style>
