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 f24b66ae1c - Show all commits

View File

@ -85,7 +85,7 @@ useEffect(() => {
reset({
activityID: String(
workItem?.workItem?.activityId || workItem?.activityId || ""
workItem?.workItem?.activityId || workItem?.activityId
),
workCategoryId: String(
workItem?.workItem?.workCategoryId || workItem?.workCategoryId || ""
@ -96,7 +96,7 @@ useEffect(() => {
workItem?.workItem?.completedWork || workItem?.completedWork || 0,
comment: workItem?.workItem?.description || workItem?.description || "",
});
}, [workItem?.id]);
}, [workItem?.id,selectedActivity]);
useEffect(() => {