feature/IO-3291-Tasks-Notifications: Checkpoint

This commit is contained in:
Dave Richer
2025-07-09 12:40:26 -04:00
parent 9e5689b06f
commit 34f62a8858
3 changed files with 57 additions and 71 deletions

View File

@@ -40,10 +40,7 @@ const TaskCenterContainer = ({ visible, onClose, bodyshop, currentUser, setTaskU
},
skip: !bodyshop?.id || !assignedToId || !isEmployee || !currentUser?.email,
fetchPolicy: "cache-and-network",
pollInterval: isConnected ? 0 : POLL_INTERVAL,
onError: (error) => {
console.error("Query error:", error);
}
pollInterval: isConnected ? 0 : POLL_INTERVAL
});
useEffect(() => {