feat: Refactor tag and correspondent management to use canonical types and dedicated managers.
This commit is contained in:
@@ -129,6 +129,7 @@ export const useDocumentsContextValues = (props: DocumentsPanelInnerProps) => {
|
||||
viewId,
|
||||
scrollRef,
|
||||
tagLookupById,
|
||||
correspondentLookupById: props.correspondentLookupById,
|
||||
activeCorrespondentIdSet,
|
||||
draggingDocumentIdsSet,
|
||||
draggedFolderId: props.draggedFolderId,
|
||||
@@ -139,6 +140,7 @@ export const useDocumentsContextValues = (props: DocumentsPanelInnerProps) => {
|
||||
activeCorrespondentIdSet,
|
||||
draggingDocumentIdsSet,
|
||||
props.draggedFolderId,
|
||||
props.correspondentLookupById,
|
||||
]);
|
||||
|
||||
// Use refs to stabilize handlers and avoid massive dependency arrays
|
||||
|
||||
Reference in New Issue
Block a user