fixed singlar
This commit is contained in:
parent
d176221c13
commit
0ad8c72aa9
@ -67,7 +67,7 @@ const Attendance = ({ getRole, handleModalData }) => {
|
|||||||
queryClient.invalidateQueries({queryKey:["attendance"]})
|
queryClient.invalidateQueries({queryKey:["attendance"]})
|
||||||
};
|
};
|
||||||
return oldData.map((record) =>
|
return oldData.map((record) =>
|
||||||
emp.employeeId === msg.response.employeeId ? { ...emp, ...msg.response } : record
|
record.employeeId === msg.response.employeeId ? { ...record, ...msg.response } : record
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user