Fixed rebase conflicts

This commit is contained in:
ashutosh.nehete 2025-06-13 10:56:37 +05:30
parent 967e5b4a3d
commit dde953fa08

View File

@ -43,23 +43,6 @@ const AttendancePage = () => {
description: "",
date: new Date().toLocaleDateString(),
});
const handler = useCallback(
(msg) => {
if (selectedProject == msg.projectId) {
const updatedAttendance = attendances.map((item) =>
item.employeeId === msg.response.employeeId
? { ...item, ...msg.response }
: item
);
cacheData("Attendance", {
data: updatedAttendance,
projectId: selectedProject,
});
setAttendances(updatedAttendance);
}
},
[selectedProject,attendances]
);
const handler = useCallback(
(msg) => {