chore: change sidebar logout href
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Fragment } from "react"
|
||||
import { LogOut } from "react-feather"
|
||||
|
||||
import { logout } from "@/constants/routes/handleAuth"
|
||||
import { serverClient } from "@/lib/trpc/server"
|
||||
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
@@ -41,7 +42,7 @@ export default async function Sidebar() {
|
||||
</Fragment>
|
||||
))}
|
||||
|
||||
<Link href="/api/web/auth/signout" variant="sidebar">
|
||||
<Link href={logout[lang]} variant="sidebar">
|
||||
Log out <LogOut height={16} width={16} />
|
||||
</Link>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user