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) {
Team Board v0.2 - setOpen(false)} - className="text-[var(--muted)] hover:text-[var(--fg)] transition-colors" - title="Настройки" - > - ⚙️ - +
+ setOpen(false)} + className="text-[var(--muted)] hover:text-[var(--fg)] transition-colors" + title="Настройки" + > + ⚙️ + + +
);