Add per-document control over who can see viewer insights (#5594)
This commit is contained in:
@@ -69,7 +69,7 @@ function InnerDocumentLink(
|
||||
if (isActiveDocument && hasChildDocuments) {
|
||||
void fetchChildDocuments(node.id);
|
||||
}
|
||||
}, [fetchChildDocuments, node, hasChildDocuments, isActiveDocument]);
|
||||
}, [fetchChildDocuments, node.id, hasChildDocuments, isActiveDocument]);
|
||||
|
||||
const pathToNode = React.useMemo(
|
||||
() => collection?.pathToDocument(node.id).map((entry) => entry.id),
|
||||
|
||||
Reference in New Issue
Block a user