Skip to content

Commit c7446d0

Browse files
committed
fix task map animations
1 parent 3e6c1b1 commit c7446d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/TaskPane/TaskMap/TaskMap.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export const TaskMapContent = (props) => {
451451
animator.reset();
452452
map.off("click", handleMapClick);
453453
};
454-
}, []);
454+
}, [props.task.id]);
455455

456456
useEffect(() => {
457457
setOsmData(null);

0 commit comments

Comments
 (0)