/** * @file components/sidebar/DirectMessageSidebar.tsx * @description Sidebar listing direct messages and friends list when no server is selected. */ "use client"; import { useSidebarStore } from "@/lib/stores/useSidebarStore"; import { PanelLeftClose } from "lucide-react"; import Link from "next/link"; /** * DirectMessageSidebar component that renders navigation for direct messages and friends. * Includes a header with collapsible controls and links for viewing chat channels and active conversations. * * @returns {JSX.Element} The direct message sidebar component layout. */ export function DirectMessageSidebar() { const { toggleNav } = useSidebarStore(); return (