- Progress commit

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-03-26 19:59:30 -04:00
parent 3bf1ec25c1
commit 595159f24d
4 changed files with 218 additions and 68 deletions

View File

@@ -46,14 +46,6 @@ export default function TaskListContainer({bodyshop, currentUser}) {
refetch().catch((e) => {
console.error(`Something went wrong fetching tasks: ${e.message || ''}`);
}); };
window.addEventListener('taskUpdated', handleTaskUpdated);
window.addEventListener('taskCreated', handleTaskUpdated);
return () => {
window.removeEventListener('taskUpdated', handleTaskUpdated);
window.removeEventListener('taskCreated', handleTaskUpdated);
};
}, [refetch]);
/**