finishes trail create

This commit is contained in:
Christian Beutel
2024-01-29 21:30:54 +01:00
parent 2d4c673060
commit efaf0d4e5c
47 changed files with 1739 additions and 130 deletions

View File

@@ -1,8 +1,8 @@
import { categories_index } from "$lib/stores/category_store";
import { trails_index } from "$lib/stores/trail_store";
import type { Load } from "@sveltejs/kit";
import type { ServerLoad } from "@sveltejs/kit";
export const load: Load = async ({ params }) => {
export const load: ServerLoad = async ({ params, locals }) => {
await trails_index()
await categories_index()
};