refactor: datepicker code
This commit is contained in:
parent
b2eab805e9
commit
563921d0cf
6 changed files with 26 additions and 35 deletions
|
|
@ -208,7 +208,6 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = ({
|
|||
|
||||
const payload: Partial<IIssue> = {
|
||||
...formData,
|
||||
target_date: formData.target_date ? renderDateFormat(formData.target_date ?? "") : null,
|
||||
};
|
||||
|
||||
if (!data) await createIssue(payload);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue