import { RichReadOnlyEditor } from "@plane/rich-text-editor"; import { observer } from "mobx-react"; import Link from "next/link"; import { History, MessageSquare } from "lucide-react"; // editor // hooks // components import { ActivityIcon, ActivityMessage, IssueLink } from "components/core"; // ui import { ActivitySettingsLoader } from "components/ui"; // helpers import { calculateTimeAgo } from "helpers/date-time.helper"; import { useUser } from "hooks/store"; // types import { IUserActivityResponse } from "@plane/types"; type Props = { activity: IUserActivityResponse | undefined; }; export const ActivityList: React.FC = observer((props) => { const { activity } = props; // store hooks const { currentUser } = useUser(); // TODO: refactor this component return ( <> {activity ? ( ) : ( )} ); });