diff --git a/app/scenes/Document/components/DataLoader.tsx b/app/scenes/Document/components/DataLoader.tsx index 33d8280e6..ace2b46b0 100644 --- a/app/scenes/Document/components/DataLoader.tsx +++ b/app/scenes/Document/components/DataLoader.tsx @@ -183,7 +183,7 @@ function DataLoader({ match, children }: Props) { // Prevents unauthorized request to load share information for the document // when viewing a public share link - if (can.read) { + if (can.read && !document.isDeleted) { if (team.getPreference(TeamPreference.Commenting)) { void comments.fetchPage({ documentId: document.id,