test
This commit is contained in:
@ -43,7 +43,7 @@ const ReportForm = () => {
|
||||
const [isFetching, setIsFetching] = useState(false);
|
||||
const [reportSuccess, setReportSuccess] = useState("");
|
||||
const [startDate, setStartDate] = useState(
|
||||
reportDate ? new Date(reportDate._d) : new Date(),
|
||||
reportDate ? new Date(reportDate._d) : new Date()
|
||||
);
|
||||
const [datePickerOpen, setDatePickerOpen] = useState(false);
|
||||
|
||||
@ -73,7 +73,7 @@ const ReportForm = () => {
|
||||
(div) =>
|
||||
div.classList &&
|
||||
(div.classList.contains("report-form__block-img") ||
|
||||
div.classList.contains("react-datepicker-popper")),
|
||||
div.classList.contains("react-datepicker-popper"))
|
||||
)
|
||||
) {
|
||||
setDatePickerOpen(false);
|
||||
@ -210,7 +210,7 @@ const ReportForm = () => {
|
||||
task: e.target.value,
|
||||
}
|
||||
: input;
|
||||
}),
|
||||
})
|
||||
)
|
||||
}
|
||||
/>
|
||||
@ -236,7 +236,7 @@ const ReportForm = () => {
|
||||
hours_spent: Number(e.target.value),
|
||||
}
|
||||
: input;
|
||||
}),
|
||||
})
|
||||
)
|
||||
}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user