refactor(Sidebar.tsx): use proper signout link
This commit is contained in:
parent
ebeabbcdbf
commit
019267584a
1 changed files with 2 additions and 2 deletions
|
|
@ -133,7 +133,7 @@ export function Sidebar() {
|
|||
</li>
|
||||
<li className="-mx-6 mt-auto">
|
||||
<Link
|
||||
href="#"
|
||||
href="/api/auth/signout"
|
||||
className="flex items-center gap-x-4 px-6 py-3 text-sm font-semibold leading-6 text-white hover:bg-gray-800"
|
||||
>
|
||||
<ArrowRightOnRectangleIcon className="h-6 w-6" />
|
||||
|
|
@ -151,7 +151,7 @@ export function Sidebar() {
|
|||
<Bars3Icon className="h-6 w-6" aria-hidden="true" />
|
||||
</button>
|
||||
<div className="flex-1 text-sm font-semibold leading-6 text-white">Dashboard</div>
|
||||
<Link href="#">
|
||||
<Link href="/api/auth/signout">
|
||||
<span className="sr-only">Sign out</span>
|
||||
<ArrowRightOnRectangleIcon className="h-6 w-6 text-white" />
|
||||
</Link>
|
||||
|
|
|
|||
Reference in a new issue