// components import { ActivityGraph } from "components/workspace"; // ui import { Tooltip } from "@plane/ui"; // icons import { Info } from "lucide-react"; // types import { IUserWorkspaceDashboard } from "@plane/types"; import { useRouter } from "next/router"; import Link from "next/link"; type Props = { data: IUserWorkspaceDashboard | undefined; }; export const IssuesStats: React.FC = ({ data }) => { const router = useRouter(); const { workspaceSlug } = router.query; return (

Issues assigned to you

{data?.assigned_issues_count}

Pending issues

{data?.pending_issues_count}

Completed issues

{data?.completed_issues_count}

Issues due by this week

{data?.issues_due_week_count}

Activity Graph

); };