debug: add logging for Navigation props

This commit is contained in:
Justin Edmund 2025-11-29 19:48:40 -08:00
parent 0e0bf5e15a
commit 5c554e8514

View file

@ -21,6 +21,15 @@ export const load: LayoutServerLoad = async ({ locals }) => {
}) })
} }
// Debug logging for Navigation props
console.log('[+layout.server] Navigation props:', {
hasAccount: !!account,
account,
hasCurrentUser: !!currentUser,
currentUser,
isAuthenticated
})
return { return {
isAuthenticated, isAuthenticated,
account, account,