visualizzazione della NavBar dopo il login
This commit is contained in:
parent
cb75c19b8c
commit
487983bf3e
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export default async function RootLayout({
|
||||||
<p className="bg-purple-700 text-white w-full text-center py-2">
|
<p className="bg-purple-700 text-white w-full text-center py-2">
|
||||||
Sono del layout root
|
Sono del layout root
|
||||||
</p>
|
</p>
|
||||||
<Navbar actions={session?.user ? <SignOutButton /> : null} />
|
{session?.user ? <Navbar actions={<SignOutButton />} /> : null}
|
||||||
{children}
|
{children}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue