- export async function load(ctx) {
- let id = ctx.page.params.id
- return { props: { id }}
- }
+ import { onDestroy } from 'svelte';
+ import { _ } from 'svelte-i18n';
+ import { getTopic } from '$/stores/topics';
+ import { disableTopicActions, enableTopicActions } from '$/stores/actions';
+
+ import Topic from '$/components/topic/topic.svelte';
+ import ErrorBlock from '$/components/error_block/error_block.svelte';
+ import Loader from '$/components/loader/loader.svelte';