"use client"; import { useState } from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; import { Menu, X, Mic } from "lucide-react"; import type { PlanKey } from "@/lib/billing/plans"; import { SidebarNav } from "./sidebar-nav"; /** * Left-drawer navigation for phones. Mirrors `AdminMobileNav` (radix dialog), * wrapping the shared `SidebarNav` and closing on every link tap. Only rendered * below the `md` breakpoint. */ export function AppMobileNav({ plan, workspaceName }: { plan: PlanKey; workspaceName: string }) { const [open, setOpen] = useState(false); return ( Open menu
{workspaceName} Close
setOpen(false)} />
); }