refactor: update appointment handling to improve data flow and display, including status management and detail views
This commit is contained in:
@@ -2,12 +2,12 @@ import DetailLg from "./DetailLg";
|
||||
import DetailSm from "./DetailSm";
|
||||
import Head from "./Head";
|
||||
|
||||
function IsTurnsDetails({ user, setIsTurnsDetails }) {
|
||||
function IsTurnsDetails({ appointmentData, setIsTurnsDetails }) {
|
||||
return (
|
||||
<div className="md:py-[20px] md:px-[24px] opacity-page">
|
||||
<Head setIsTurnsDetails={setIsTurnsDetails} />
|
||||
<DetailLg user={user} loading={false} />
|
||||
<DetailSm user={user} loading={false} />
|
||||
<DetailLg appointmentData={appointmentData} loading={false} />
|
||||
<DetailSm appointmentData={appointmentData} loading={false} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user