Skip to content

Commit

Permalink
Issue feat: fix empty state value on center page
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshataKatwal16 committed Oct 15, 2024
1 parent 47f5111 commit 6b7a83e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/centers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ const response= await fetchCohortMemberList(data);
};

useEffect(() => {
fetchUserList();
if ((selectedBlockCode !== "") || (selectedDistrictCode !== "" && selectedBlockCode === "") ){
fetchUserList();
}
// fetchUserList();
getFormData();
}, [pageOffset, pageLimit, sortBy, filters, filters.states, filters.status, createCenterStatus]);

Expand Down

0 comments on commit 6b7a83e

Please sign in to comment.