mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-22 04:46:40 +00:00
pass user object to user context
This commit is contained in:
@@ -9,10 +9,12 @@ export default async function Page() {
|
||||
redirect("/auth/login");
|
||||
}
|
||||
|
||||
console.log(user);
|
||||
|
||||
return (
|
||||
<>
|
||||
<LandingProvider user={user}>
|
||||
<p>You are logged in!</p>
|
||||
<p>Logged in as {user.email}</p>
|
||||
</LandingProvider>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user