add loading for redirect button from home to doctors page && change filter for field search in name or specialty and set in url && fix bug select city in home page

This commit is contained in:
ehsan
2025-09-21 23:12:47 +03:30
parent dfc8492afa
commit e11f4ed3c5
8 changed files with 75 additions and 22 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ function SendReq({ filter, setFilter, setDataInURL, sendReq }) {
const filterData = () => {
setLoading(true);
// const newFilter = checkName();
setFilter(filter);
setDataInURL(filter);
// setFilter(filter);
// setDataInURL(filter);
sendReq(filter).finally(() => {
setLoading(false);