This commit is contained in:
2025-11-20 02:36:32 +01:00
parent 78e6d3e431
commit a08e975da1
5 changed files with 6 additions and 21 deletions
@@ -134,8 +134,6 @@ interface UseDocumentMutationsArgs {
closeDocumentPreview: CloseDocumentPreview;
previewDocumentId?: DocumentId | null;
refreshCurrentFolder: () => Promise<void>;
refreshVisibleDocuments: () => Promise<void>;
documentsViewMode?: string;
updateDocumentCaches: UpdateDocumentCaches;
tagLookupById: Map<DocumentId, Tag>;
tags: Tag[];
@@ -212,8 +210,6 @@ const useDocumentMutations = ({
closeDocumentPreview,
previewDocumentId,
refreshCurrentFolder,
refreshVisibleDocuments,
documentsViewMode,
updateDocumentCaches,
tagLookupById,
tags,
@@ -641,7 +637,7 @@ const useDocumentMutations = ({
notifyApiError(error, 'Failed to assign tag.');
}
},
[api, tags, refreshTags, attachTagToDocument, notifyApiError, setStatusMessage, tagManager],
[api, tags, refreshTags, attachTagToDocument, notifyApiError, tagManager],
);
const handleDocumentTagAttach = useCallback(