]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/a/[id].svelte
Don't remember what this WIP was about
[rbdr/forum] / src / routes / a / [id].svelte
index 1eef1dcda62779192b105d0e46d94b55d29ac85b..524535e071ece390197ceb10d04538d757691f51 100644 (file)
@@ -1,12 +1,8 @@
-<script context="module">
-       export const load = ({
-         page: {
-           params: { id }
-         }
-       }) => ({ props: { id } });
+<script lang="ts" context="module">
+       export const load = ({ params: { id } }) => ({ props: { id } });
 </script>
 
-<script>
+<script lang="ts">
        import Author from '$lib/components/author/author.svelte';
 </script>