SvelteKit Updated, Uppy broken
This commit is contained in:
@@ -7,7 +7,7 @@ import { redirect } from '@sveltejs/kit';
|
||||
export const load = async ({ parent }) => {
|
||||
const { email } = await parent();
|
||||
if (email) {
|
||||
throw redirect(302, '/dashboard');
|
||||
redirect(302, '/dashboard');
|
||||
}
|
||||
return {
|
||||
email
|
||||
|
||||
Reference in New Issue
Block a user