import { useRouter } from "next/router"; import Link from "next/link"; // components import { ProfileIssuesViewOptions } from "components/profile"; const tabsList = [ { route: "", label: "Overview", selected: "/[workspaceSlug]/profile/[userId]", }, { route: "assigned", label: "Assigned", selected: "/[workspaceSlug]/profile/[userId]/assigned", }, { route: "created", label: "Created", selected: "/[workspaceSlug]/profile/[userId]/created", }, { route: "subscribed", label: "Subscribed", selected: "/[workspaceSlug]/profile/[userId]/subscribed", }, ]; export const ProfileNavbar = () => { const router = useRouter(); const { workspaceSlug, userId } = router.query; return (