change packages & change data in weekly day & add fields to modal add & remove validation from login page
This commit is contained in:
@@ -6,6 +6,7 @@ import PlaceVisit from "./PlaceVisit";
|
||||
function Date({ doctor, setStep }) {
|
||||
const [locateVisit, setLocateVisit] = useState(true);
|
||||
const [isError, setIsError] = useState(false);
|
||||
const [date, setDate] = useState();
|
||||
|
||||
return (
|
||||
<div className="w-full lg:w-[61%]">
|
||||
@@ -19,8 +20,9 @@ function Date({ doctor, setStep }) {
|
||||
isError={isError}
|
||||
/>
|
||||
<Time
|
||||
isStep={doctor?.multiwork ? locateVisit : true}
|
||||
setDate={setDate}
|
||||
locateVisit={locateVisit}
|
||||
isStep={doctor?.multiwork ? locateVisit : true}
|
||||
/>
|
||||
<Hour
|
||||
isStep={doctor?.multiwork ? locateVisit : true}
|
||||
@@ -29,6 +31,7 @@ function Date({ doctor, setStep }) {
|
||||
setIsError={setIsError}
|
||||
setStep={setStep}
|
||||
doctor={doctor}
|
||||
date={date}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user