debug: add logging for Navigation props
This commit is contained in:
parent
0e0bf5e15a
commit
5c554e8514
1 changed files with 9 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue