]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/p/[id].svelte
Remove outdated docs
[rbdr/forum] / src / routes / p / [id].svelte
index 915cfeb5b14cac8a38eab9ddaf558597ea5b98ef..82d8045a7c8c71d88bbd6f80ce33949d4fafa2d1 100644 (file)
@@ -1,17 +1,17 @@
-<script context="module">
+<script lang="ts" context="module">
        export const load = ({
-         page: {
-           params: { id }
-         }
+               page: {
+                       params: { id }
+               }
        }) => ({ props: { id } });
 </script>
 
-<script>
+<script lang="ts">
        import { _ } from 'svelte-i18n';
-       import { getPost } from '$/stores/post';
-       import Post from '$/components/post/post.svelte';
-       import ErrorBlock from '$/components/error_block/error_block.svelte';
-       import Loader from '$/components/loader/loader.svelte';
+       import { getPost } from '$lib/stores/posts';
+       import Post from '$lib/components/post/post.svelte';
+       import ErrorBlock from '$lib/components/error_block/error_block.svelte';
+       import Loader from '$lib/components/loader/loader.svelte';
 
        export let id;