π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix issue description in space app's peek overview (#5328)
rahulramesha3b2101815433
diff --git a/space/core/components/issues/peek-overview/layout.tsx b/space/core/components/issues/peek-overview/layout.tsxindex e649a3279a..0e4d0b85f2 100644--- a/space/core/components/issues/peek-overview/layout.tsx+++ b/space/core/components/issues/peek-overview/layout.tsx@@ -7,7 +7,7 @@ import { Dialog, Transition } from "@headlessui/react";// componentsimport { FullScreenPeekView, SidePeekView } from "@/components/issues/peek-overview";// hooks-import { useIssue, useIssueDetails } from "@/hooks/store";+import { useIssueDetails } from "@/hooks/store";type TIssuePeekOverview = {anchor: string;@@ -29,15 +29,14 @@ export const IssuePeekOverview: FC<TIssuePeekOverview> = observer((props) => {const [isModalPeekOpen, setIsModalPeekOpen] = useState(false);// storeconst issueDetailStore = useIssueDetails();- const issueStore = useIssue();const issueDetails = issueDetailStore.peekId && peekId ? issueDetailStore.details[peekId.toString()] : undefined;useEffect(() => {- if (anchor && peekId && issueStore.groupedIssueIds) {+ if (anchor && peekId) {issueDetailStore.fetchIssueDetails(anchor, peekId.toString());}- }, [anchor, issueDetailStore, peekId, issueStore.groupedIssueIds]);+ }, [anchor, issueDetailStore, peekId]);const handleClose = () => {// if close logic is passed down, call that instead of the below logic