1 <script context="module">
6 }) => ({ props: { id } });
10 import { _ } from 'svelte-i18n';
11 import { getPost } from '$/stores/post';
12 import Post from '$/components/post/post.svelte';
13 import ErrorBlock from '$/components/error_block/error_block.svelte';
14 import Loader from '$/components/loader/loader.svelte';
18 $: store = getPost(id);
19 $: post = $store.data;
23 <title>{$_('post.post')}}</title>
30 <ErrorBlock message={$_('post.error.unavailable')} />