4 import { _ } from 'svelte-i18n';
5 import { getTag } from '$/stores/tag';
6 import ErrorBlock from '$/components/error_block/error_block.svelte';
7 import Loader from '$/components/loader/loader.svelte';
8 import TopicSummary from '$/components/topic_summary/topic_summary.svelte';
10 $: store = getTag(id);
18 <ErrorBlock message={$_('tag.error.unavailable')} />
21 <h1>{$_('tag.title')} {tag.id}</h1>
23 {#each tag.topics as topic}
24 <TopicSummary topic={topic} />