add state of page in url, add location and working_days on list in clinics page, fix update list clinic with page and limit value, hide pagination when list of clinic is empty, round image of doctor and appo in doctor item
This commit is contained in:
@@ -12,6 +12,7 @@ import { request } from "@/services/response";
|
||||
|
||||
function SearchBar({
|
||||
state,
|
||||
limit,
|
||||
selected,
|
||||
specialties,
|
||||
setSelected,
|
||||
@@ -59,6 +60,7 @@ function SearchBar({
|
||||
>
|
||||
<ModalSearchCity
|
||||
open={open}
|
||||
limit={limit}
|
||||
state={state}
|
||||
setOpen={setOpen}
|
||||
selected={selected}
|
||||
@@ -73,7 +75,7 @@ function SearchBar({
|
||||
placeholder="جستجوی تخصص"
|
||||
handleSearch={handleSearch}
|
||||
/>
|
||||
<FilterButton filterData={filterData} />
|
||||
<FilterButton limit={limit} selected={selected} filterData={filterData} />
|
||||
</ButtonGroup>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user