diff --git a/src/components/Dashboard/common/NotesPanel.jsx b/src/components/Dashboard/common/NotesPanel.jsx index 75d3284a..1038adcb 100644 --- a/src/components/Dashboard/common/NotesPanel.jsx +++ b/src/components/Dashboard/common/NotesPanel.jsx @@ -109,7 +109,7 @@ const NotesPanel = ({ _id, type }) => { subscribeToObjectTypeUpdatesRef.current = null } } - }, [_id, subscribeToObjectTypeUpdates, connected, handleReloadData]) + }, [_id, type, subscribeToObjectTypeUpdates, connected, handleReloadData]) useEffect(() => { if (