"use client"; import Link from "next/link"; import { useSelectedLayoutSegments } from "next/navigation"; import { Hash } from "lucide-react"; import { Button } from "@/components/ui/button"; type Props = { href: string; channelName: string | null; }; export const ChannelLink: React.FC = ({ href, channelName }) => { const isActive = channelName === useSelectedLayoutSegments().at(1); return ( ); };