// components import { ActivityGraph } from "components/workspace"; // ui import { Loader, Tooltip } from "components/ui"; // icons import { InformationCircleIcon } from "@heroicons/react/24/outline"; // types import { IUserWorkspaceDashboard } from "types"; type Props = { data: IUserWorkspaceDashboard | undefined; }; export const IssuesStats: React.FC = ({ data }) => (

Issues assigned to you

{data ? ( data.assigned_issues_count ) : ( )}

Pending issues

{data ? ( data.pending_issues_count ) : ( )}

Completed issues

{data ? ( data.completed_issues_count ) : ( )}

Issues due by this week

{data ? ( data.issues_due_week_count ) : ( )}

Activity Graph

);