- export async function load(ctx) {
- let id = ctx.page.params.id
- return { props: { id }}
- }
+ import { _ } from 'svelte-i18n';
+ import { getTag } from '$/stores/tag';
+ import ErrorBlock from '$/components/error_block/error_block.svelte';
+ import Loader from '$/components/loader/loader.svelte';
+ import Tag from '$/components/tag/tag.svelte';
+ export let id;
+
+ $: store = getTag(id);
+ $: tag = $store.data;