React Query Integration for Server State Sync in Clinet #245

Merged
admin merged 60 commits from react-query into main 2025-07-11 11:32:19 +00:00
Showing only changes of commit c018ffa455 - Show all commits

View File

@ -471,7 +471,7 @@ export const useManageProjectAllocation = ({
},
onSuccess: (data, variables, context) => {
queryClient.invalidateQueries({queryKey:['empListByProjectAllocated']});
queryClient.removeQueries({queryKey:["projectEmployees"]})
if (variables?.added) {
showToast('Employee Assigned Successfully', 'success');
} else {