diff --git a/frontend/src/routes/+page.ts b/frontend/src/routes/+page.ts index f8b3cbd..a2271f8 100644 --- a/frontend/src/routes/+page.ts +++ b/frontend/src/routes/+page.ts @@ -2,7 +2,6 @@ import { getRouteCategories } from '$lib/repo.js'; import { error } from '@sveltejs/kit'; -/** @type {import('./$types').PageLoad} */ export async function load() { let categories = []; try { diff --git a/frontend/src/routes/paths/[slug]/+page.ts b/frontend/src/routes/paths/[slug]/+page.ts index 5287e1f..a83a267 100644 --- a/frontend/src/routes/paths/[slug]/+page.ts +++ b/frontend/src/routes/paths/[slug]/+page.ts @@ -1,7 +1,6 @@ import { getRouteByCategory, getRouteCategories } from '$lib/repo.js'; import { error } from '@sveltejs/kit'; -/** @type {import('./$types').PageLoad} */ export async function load({ params }) { const categories: App.Category[] = await getRouteCategories(); const categoryId = Number(params.slug); diff --git a/frontend/src/routes/routes/[slug]/+page.ts b/frontend/src/routes/routes/[slug]/+page.ts index 0ba8b11..bc240e2 100644 --- a/frontend/src/routes/routes/[slug]/+page.ts +++ b/frontend/src/routes/routes/[slug]/+page.ts @@ -1,7 +1,6 @@ import { getRoute } from '$lib/repo.js'; import { error } from '@sveltejs/kit'; -/** @type {import('./$types').PageLoad} */ export async function load({ params }) { const routeId = Number(params.slug); const route = await getRoute(routeId);