]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/p/[id].svelte
Apply formatting
[rbdr/forum] / src / routes / p / [id].svelte
index 38bdb49aefaae64bb71e44c4139467141126ae53..82d8045a7c8c71d88bbd6f80ce33949d4fafa2d1 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 { _ } from 'svelte-i18n';
        import { getPost } from '$lib/stores/posts';
        import Post from '$lib/components/post/post.svelte';