From 76bcc5fbbd5964362e04798c30ae67097e02e882 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Fri, 24 Nov 2023 15:01:32 +0530 Subject: [PATCH] chore: initialize withDraftIssueWrapper to be true --- web/components/issues/issue-modal/modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/issues/issue-modal/modal.tsx b/web/components/issues/issue-modal/modal.tsx index c9be9a7cd..b7f7d20fc 100644 --- a/web/components/issues/issue-modal/modal.tsx +++ b/web/components/issues/issue-modal/modal.tsx @@ -21,7 +21,7 @@ export interface IssuesModalProps { } export const ProjectIssueModal: React.FC = observer((props) => { - const { data, isOpen, onClose, withDraftIssueWrapper } = props; + const { data, isOpen, onClose, withDraftIssueWrapper = true } = props; const [changesMade, setChangesMade] = useState | null>(null);