chore: initialize withDraftIssueWrapper to be true

This commit is contained in:
Aaryan Khandelwal 2023-11-24 15:01:32 +05:30
parent 9c15de0a38
commit 76bcc5fbbd

View File

@ -21,7 +21,7 @@ export interface IssuesModalProps {
}
export const ProjectIssueModal: React.FC<IssuesModalProps> = observer((props) => {
const { data, isOpen, onClose, withDraftIssueWrapper } = props;
const { data, isOpen, onClose, withDraftIssueWrapper = true } = props;
const [changesMade, setChangesMade] = useState<Partial<IIssue> | null>(null);