change design dashboard & side booking page
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Information from "./information"
|
||||
import Location from "./location"
|
||||
|
||||
function BookingPage({ doctor, children, isFirst, disableSide }) {
|
||||
function BookingPage({ doctor, step, setStep, children, isFirst, disableSide }) {
|
||||
return (
|
||||
<div
|
||||
className="flex flex-col lg:flex-row justify-center gap-[12px] sm:gap-[16px] md:gap-[20px] lg:gap-[24px] padding-responsive
|
||||
@@ -9,7 +9,7 @@ function BookingPage({ doctor, children, isFirst, disableSide }) {
|
||||
{isFirst ? (
|
||||
<Location disableSide={disableSide} doctor={doctor} />
|
||||
) : (
|
||||
<Information disableSide={disableSide} doctor={doctor} />
|
||||
<Information disableSide={disableSide} doctor={doctor} step={step} setStep={setStep} />
|
||||
)}
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user