diff --git a/app/scenes/Document/components/Comments.tsx b/app/scenes/Document/components/Comments.tsx
index 5277daece2..4e064536a5 100644
--- a/app/scenes/Document/components/Comments.tsx
+++ b/app/scenes/Document/components/Comments.tsx
@@ -126,9 +126,65 @@ function Comments() {
prevThreadCount.current = threads.length;
}, [sortOption.type, threads.length, viewingResolved]);
- if (!document || !isEditorInitialized) {
- return null;
- }
+ const content =
+ !document || !isEditorInitialized ? null : (
+ <>
+
+
+ {(!focusedComment || isMobile) && can.comment && !viewingResolved && (
+
+ )}
+
+ >
+ );
return (
ui.set({ commentsExpanded: false })}
scrollable={false}
>
-
-
- {(!focusedComment || isMobile) && can.comment && !viewingResolved && (
-
- )}
-
+ {content}
);
}