updates on the uild

This commit is contained in:
2026-06-19 18:58:28 +05:30
parent 3e0772ffb8
commit 4823df08a3
3 changed files with 1185 additions and 34 deletions

View File

@@ -468,7 +468,7 @@ export const fetchAllRiders = async ({ pageParam = 1, queryKey }) => {
const [, appId, debouncedSearch, tabvalue] = queryKey;
const url = `${process.env.REACT_APP_URL
}/partners/getallriders/?applocationid=${appId}&pageno=${pageParam}&pagesize=${20}&keyword=${debouncedSearch}&status=${tabvalue == 0 ? '' : 'Active'
}/partners/getallriders/?applocationid=${appId}&pageno=${pageParam}&pagesize=${20}&keyword=${debouncedSearch}&status=${(tabvalue == 0 || tabvalue == 2) ? '' : 'Active'
}`;
const res = await axios.get(url);
return {