diff --git a/src/routes/+layout.ts b/src/routes/+layout.ts index 1b3747d..50c9817 100644 --- a/src/routes/+layout.ts +++ b/src/routes/+layout.ts @@ -3,11 +3,9 @@ import type {LayoutLoad} from './$types'; export const load: LayoutLoad = ({data, url}) => { // logged in (user exists), but username is unset - complete profile first - console.log(data.user); if (data.user && data.user.name == null) { // don't redirect forever if we're already on this page if (url.pathname !== '/profile/create') { - console.log('bad'); throw redirect( 302, `/profile/create?next=${encodeURIComponent(url.href)}`,