import { useEffect } from "react"; import { observer } from "mobx-react-lite"; // lib import { useMobxStore } from "lib/mobx/store-provider"; // components import { PeekOverviewHeader, PeekOverviewIssueActivity, PeekOverviewIssueDetails, PeekOverviewIssueProperties, } from "components/issues/peek-overview"; // types import { IIssue } from "types/issue"; import { RootStore } from "store/root"; type Props = { handleClose: () => void; issueDetails: IIssue; }; export const SidePeekView: React.FC = observer((props) => { const { handleClose, issueDetails } = props; const { project: projectStore } = useMobxStore(); return (
{issueDetails && (
{/* issue title and description */}
{/* issue properties */}
{/* divider */}
{/* issue activity/comments */} {projectStore?.deploySettings?.comments && (
)}
)}
); });