passed checkout time to timepicker as props

This commit is contained in:
ashutosh.nehete 2025-05-04 12:11:50 +05:30
parent 9e1dc8e203
commit bd91f60e08

View File

@ -73,7 +73,7 @@ const CheckCheckOutmodel = ({modeldata,closeModal,handleSubmitForm,}) => {
label="Choose a time"
onChange={(e) => setValue("markTime", e)}
interval={10}
activity={modeldata?.action}
checkOutTime={modeldata?.checkOutTime}
checkInTime={modeldata?.checkInTime}
/>
{errors. markTime && <p className="text-danger">{errors.markTime.message}</p>}