diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 61935b1..7a2bb8a 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -3,6 +3,7 @@ import { useState } from "react"; import Link from "next/link"; import { Project } from "@/lib/api"; +import { logout } from "@/lib/auth-client"; interface Props { projects: Project[]; @@ -57,14 +58,23 @@ export default function Sidebar({ projects, activeSlug }: Props) {