show guest nav when signed out
This commit is contained in:
parent
06b61bd829
commit
27f2f9a9df
1 changed files with 3 additions and 1 deletions
|
|
@ -122,7 +122,9 @@ export function AppSidebar({ user }: { user: AuthUser | undefined }) {
|
|||
<SidebarContent>
|
||||
<SidebarHistory user={user} />
|
||||
</SidebarContent>
|
||||
<SidebarFooter>{user && <SidebarUserNav user={user} />}</SidebarFooter>
|
||||
<SidebarFooter>
|
||||
<SidebarUserNav user={user ?? { email: null, isAnonymous: true }} />
|
||||
</SidebarFooter>
|
||||
</Sidebar>
|
||||
|
||||
<AlertDialog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue