fix: lexical

This commit is contained in:
Aaryan Khandelwal 2022-12-05 11:12:21 +05:30
parent 945a75e18b
commit b8ad8a78c9
4 changed files with 25 additions and 16 deletions

View file

@ -51,7 +51,7 @@ type Props = {
const defaultValues: Partial<IIssue> = {
project: "",
name: "",
description: "",
// description: "",
state: "",
sprints: "",
priority: "",
@ -176,7 +176,6 @@ const CreateUpdateIssuesModal: React.FC<Props> = ({
if (!activeWorkspace || !activeProject) return;
const payload: Partial<IIssue> = {
...formData,
description: JSON.stringify(formData.description),
target_date: formData.target_date ? renderDateFormat(formData.target_date ?? "") : null,
};
if (!data) {