]> 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 5f8c951298e6102e05e67e5aef630bb30a71bf9c..524535e071ece390197ceb10d04538d757691f51 100644 (file)
@@ -1,13 +1,9 @@
-<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>
-       import Author from '$/components/author/author.svelte';
+<script lang="ts">
+       import Author from '$lib/components/author/author.svelte';
 </script>
 
 <Author />
 </script>
 
 <Author />