Further cleanup, mostly with svelte 5 migration placeholder cleanup

This commit is contained in:
Mawoka
2025-10-26 11:53:53 +01:00
parent 0c23d9b9c1
commit 41fe3e3ad5
74 changed files with 309 additions and 1154 deletions
+2 -1
View File
@@ -3,8 +3,9 @@
// SPDX-License-Identifier: MPL-2.0
import { redirect } from '@sveltejs/kit';
import type { PageServerLoad } from './$types';
export const load = async ({ parent }) => {
export const load: PageServerLoad = async ({ parent }) => {
const { email } = await parent();
if (email) {
redirect(302, '/dashboard');