chore: Remove unused fetchDocumentComments method
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user