passed checkout time to timepicker as props

This commit is contained in:
Pramod Mahajan 2025-05-01 02:37:53 +05:30
parent ceba57884c
commit 6372362a33

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>}