import { FC } from "react"; import { observer } from "mobx-react"; // hooks import { LayersIcon } from "@plane/ui"; import { useIssueDetail } from "@/hooks/store"; // components import { IssueActivityBlockComponent } from "./"; // icons type TIssueDefaultActivity = { activityId: string; ends: "top" | "bottom" | undefined }; export const IssueDefaultActivity: FC = observer((props) => { const { activityId, ends } = props; // hooks const { activity: { getActivityById }, } = useIssueDetail(); const activity = getActivityById(activityId); if (!activity) return <>; return ( ); });