chore: Remove unused fetchDocumentComments method

This commit is contained in:
Tom Moor
2023-12-29 09:15:16 -05:00
parent 01c806d6ea
commit 8d74028f93
2 changed files with 3 additions and 30 deletions

View File

@@ -185,7 +185,8 @@ function DataLoader({ match, children }: Props) {
// when viewing a public share link
if (can.read) {
if (team.getPreference(TeamPreference.Commenting)) {
void comments.fetchDocumentComments(document.id, {
void comments.fetchPage({
documentId: document.id,
limit: 100,
});
}