It works!
This commit is contained in:
parent
18334e25f2
commit
1a50dfee8b
@ -18,11 +18,17 @@ export default async function HomePage() {
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
} else {
|
||||||
|
const email = session?.user?.email;
|
||||||
return (
|
return (
|
||||||
<main className="min-h-screen">
|
<main className="min-h-screen">
|
||||||
|
<div className="w-full justify-end items-end p-3 flex flex-col">
|
||||||
<Theme_Toggle />
|
<Theme_Toggle />
|
||||||
|
<div className="w-full flex flex-col justify-center items-center">
|
||||||
|
<h1>Welcome, {email}</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user