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