/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ import { observer } from "mobx-react"; // plane imports import { RichTextEditor } from "@/components/editor/rich-text-editor"; import { usePublish } from "@/hooks/store/publish"; // types import type { IIssue } from "@/types/issue"; // local imports import { IssueReactions } from "./issue-reaction"; type Props = { anchor: string; issueDetails: IIssue; }; export const PeekOverviewIssueDetails = observer(function PeekOverviewIssueDetails(props: Props) { const { anchor, issueDetails } = props; // store hooks const { project_details, workspace: workspaceID } = usePublish(anchor); // derived values const description = issueDetails.description_html; return (