removed debuggger
This commit is contained in:
parent
aecaee7116
commit
0e5e716df2
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user