diff --git a/client/src/components/DashboardLayout.tsx b/client/src/components/DashboardLayout.tsx index 0bf7437..cf11424 100644 --- a/client/src/components/DashboardLayout.tsx +++ b/client/src/components/DashboardLayout.tsx @@ -1,15 +1,7 @@ import { useAuth } from "@/_core/hooks/useAuth"; -import { Avatar, AvatarFallback } from "@/components/ui/avatar"; -import { - DropdownMenu, - DropdownMenuContent, - DropdownMenuItem, - DropdownMenuTrigger, -} from "@/components/ui/dropdown-menu"; import { Sidebar, SidebarContent, - SidebarFooter, SidebarHeader, SidebarInset, SidebarMenu, @@ -21,7 +13,7 @@ import { } from "@/components/ui/sidebar"; import { getLoginUrl } from "@/const"; import { useIsMobile } from "@/hooks/useMobile"; -import { LayoutDashboard, LogOut, PanelLeft, Users } from "lucide-react"; +import { LayoutDashboard, PanelLeft, Users } from "lucide-react"; import { CSSProperties, useEffect, useRef, useState } from "react"; import { useLocation } from "wouter"; import { DashboardLayoutSkeleton } from './DashboardLayoutSkeleton'; @@ -106,7 +98,6 @@ function DashboardLayoutContent({ children, setSidebarWidth, }: DashboardLayoutContentProps) { - const { user, logout } = useAuth(); const [location, setLocation] = useLocation(); const { state, toggleSidebar } = useSidebar(); const isCollapsed = state === "collapsed"; @@ -201,36 +192,6 @@ function DashboardLayoutContent({ - - - - - - - - - Sign out - - - -
- +
+ + +
)} @@ -848,20 +859,31 @@ export default function TaskManager({ )} - +
+ + +
)}