// types import { IUserStateDistribution } from "@plane/types"; // constants import { STATE_GROUPS } from "constants/state"; type Props = { stateDistribution: IUserStateDistribution[]; }; export const ProfileWorkload: React.FC = ({ stateDistribution }) => (

Workload

{stateDistribution.map((group) => (

{group.state_group === "unstarted" ? "Not Started" : group.state_group === "started" ? "Working on" : group.state_group}

{group.state_count}

))}
);