]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/a/[id].svelte
Use supabase
[rbdr/forum] / src / routes / a / [id].svelte
index 1eef1dcda62779192b105d0e46d94b55d29ac85b..6f5a3db49265dad5e607c5711f6e690b87303699 100644 (file)
@@ -1,12 +1,10 @@
-<script context="module">
+<script lang="ts" context="module">
        export const load = ({
-         page: {
-           params: { id }
-         }
+    params: { id }
        }) => ({ props: { id } });
 </script>
 
-<script>
+<script lang="ts">
        import Author from '$lib/components/author/author.svelte';
 </script>