// components import { Loader } from "components/ui"; import { ActivityGraph } from "components/workspace"; // helpers import { groupBy } from "helpers/array.helper"; // 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

);