removed debuggger

This commit is contained in:
pramod.mahajan 2025-10-09 16:20:43 +05:30
parent aecaee7116
commit 0e5e716df2

View File

@ -207,7 +207,6 @@ export const useMarkAttendance = () => {
onSuccess: (data, variables) => { onSuccess: (data, variables) => {
if (variables.forWhichTab == 1) { if (variables.forWhichTab == 1) {
queryClient.setQueryData(["attendance", selectedProject,selectedOrganization], (oldData) => { queryClient.setQueryData(["attendance", selectedProject,selectedOrganization], (oldData) => {
debugger
if (!oldData) return oldData; if (!oldData) return oldData;
return oldData.map((emp) => return oldData.map((emp) =>
emp.employeeId === data.employeeId ? { ...emp, ...data } : emp emp.employeeId === data.employeeId ? { ...emp, ...data } : emp