import React, { useEffect, useState } from "react"; import { Dialog } from "@headlessui/react"; import { DocsSidebar } from "~/components/landingpage/DocsSidebar"; import { Link, useLocation } from "@remix-run/react"; import { Button } from "../Button"; function MenuIcon(props: React.SVGProps) { return ( ); } function CloseIcon(props: React.SVGProps) { return ( ); } type MobileNavigationProps = { navigation: any; }; export function MobileNavigation({ navigation }: MobileNavigationProps) { let location = useLocation(); let [isOpen, setIsOpen] = useState(false); useEffect(() => { if (location.pathname) setIsOpen(false); }, [location.key]); return ( <> JetKVM ); }