change bg of auto-selector, remove value of search from url when click on x button on autoselector, remove to set data of search field in clinics page, fix remove data and update state filter after click on clearAll text in autoselector of doctors age
This commit is contained in:
@@ -18,10 +18,10 @@ function ClinicsPage({ clinics, matchedCity, matchedState }) {
|
||||
});
|
||||
|
||||
const handleSearch = (value) => {
|
||||
const current = new URLSearchParams(window.location.search);
|
||||
current.set("search", value);
|
||||
const queryString = current.toString();
|
||||
router.push(`/clinics?${queryString}`);
|
||||
// const current = new URLSearchParams(window.location.search);
|
||||
// current.set("search", value);
|
||||
// const queryString = current.toString();
|
||||
// router.push(`/clinics?${queryString}`);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user