Commit Graph
1 Commits
Author SHA1 Message Date
Juan Benavides 9b83766716 FIX: add await to async function in code snippet
The `getSession` function defined in the hook is asynchronous and the server load of the layout was not awaiting it, therefore, it was sending a promise instead of the session. Added `await`.
2023-03-23 19:13:52 -05:00