handle limit page dashboard & change header profile user & get data from api in page clinics & clinic item and doctor item
This commit is contained in:
@@ -11,7 +11,7 @@ import ModalSearchCity from "@/app/component/modalSearchCity";
|
||||
// Data
|
||||
import specialties from "@/data/specialties.json";
|
||||
|
||||
function DoctorsPage({ params, matchedCity, matchedState }) {
|
||||
function DoctorsPage({ params, matchedCity, matchedState, list }) {
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [open, setOpen] = useState(false);
|
||||
const [selected, setSelected] = useState({
|
||||
@@ -65,7 +65,7 @@ function DoctorsPage({ params, matchedCity, matchedState }) {
|
||||
<SortList data={data} setData={setData} />
|
||||
</div>
|
||||
</div>
|
||||
<ListDoctors loading={loading} />
|
||||
<ListDoctors loading={loading} list={list} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user