// next import Image from "next/image"; import { ChartBarIcon, ChatBubbleBottomCenterTextIcon, Squares2X2Icon, } from "@heroicons/react/24/outline"; import { addSpaceIfCamelCase, timeAgo } from "constants/common"; import { IState } from "types"; import { Spinner } from "ui"; type Props = { issueActivities: any[] | undefined; states: IState[] | undefined; }; const activityIcons = { state: , priority: , name: , description: , }; const IssueActivitySection: React.FC = ({ issueActivities, states }) => { return ( <> {issueActivities ? (
{issueActivities.map((activity) => { if (activity.field !== "updated_by") return (
{issueActivities.length > 1 ? (
); })}
) : (
)} ); }; export default IssueActivitySection;