]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/t/[id].svelte
Remove outdated docs
[rbdr/forum] / src / routes / t / [id].svelte
index 510ced147cbd80008250c1afe9574f5a470e83cb..e04f473a001375f5ea6506db5e2133fe5f5db6f2 100644 (file)
@@ -1,12 +1,12 @@
-<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 { onDestroy } from 'svelte';
        import { _ } from 'svelte-i18n';
        import { getTopic } from '$lib/stores/topics';