add auto-selecotr to home page and handle set in data, search in specialties and send req for filter && add locations and change text
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ async function Doctors({ searchParams }) {
|
||||
let doctors = null;
|
||||
try {
|
||||
let newSearchParams = searchParams;
|
||||
if (matchedCity) newSearchParams.city = matchedCity.name;
|
||||
if (matchedCity && matchedCity.id !== "63")
|
||||
newSearchParams.city = matchedCity.name;
|
||||
if (matchedState) newSearchParams.state = matchedState.name;
|
||||
const params = buildDoctorParams(searchParams);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user