change packages & change data in weekly day & add fields to modal add & remove validation from login page

This commit is contained in:
Ehsan
2025-07-13 00:47:06 +03:30
parent c6e2657e45
commit 97802a9fdf
14 changed files with 207 additions and 89 deletions
+4 -1
View File
@@ -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>