Add logout button to home page header

This commit is contained in:
2025-12-03 20:39:13 +00:00
parent 4422498bc9
commit 2640559de8
2 changed files with 23 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ import ListCard from '@/components/ListCard'
import NewListButton from '@/components/NewListButton'
import GlobalSearch from '@/components/GlobalSearch'
import EmptyState from '@/components/EmptyState'
import LogoutButton from '@/components/LogoutButton'
import Link from 'next/link'
import { getServerSession } from 'next-auth'
import { authOptions } from '@/pages/api/auth/[...nextauth]'
@@ -39,6 +40,7 @@ export default async function Home() {
>
Profile
</Link>
<LogoutButton />
</>
)}
<NewListButton />