refactor: handle Date can is null

This commit is contained in:
Thanaphon Frappet 2024-12-11 15:00:02 +07:00
parent c7852c7782
commit f57e2a3ba5
2 changed files with 4 additions and 4 deletions

View file

@ -333,8 +333,8 @@ const defaultFormData = {
webUrl: '',
virtual: false,
selectedImage: '',
permitExpireDate: new Date(),
permitIssueDate: new Date(),
permitExpireDate: null,
permitIssueDate: null,
permitNo: '',
};