diff --git a/src/routes/mesocycles/[mesocycleId]/edit-split/+layout.server.ts b/src/routes/mesocycles/[mesocycleId]/edit-split/+layout.server.ts deleted file mode 100644 index e4181170..00000000 --- a/src/routes/mesocycles/[mesocycleId]/edit-split/+layout.server.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { error } from '@sveltejs/kit'; - -export const load = async ({ parent }) => { - const { mesocycle } = await parent(); - const loadedMesocycle = await mesocycle; - if (!loadedMesocycle) error(404, 'Mesocycle not found'); - return { mesocycle: loadedMesocycle }; -};