diff --git a/components/video-page/comments-pane.tsx b/components/video-page/comments-pane.tsx
index b9e5982..1e41de2 100644
--- a/components/video-page/comments-pane.tsx
+++ b/components/video-page/comments-pane.tsx
@@ -276,30 +276,35 @@ export const CommentsPane = memo(function CommentsPane({
)}
-
- {activePane === 'assets' ? assetsPane : filteredComments.length === 0 ? (
-
-
-
No comments yet
-
Be the first to leave feedback!
-
- ) : (
- sortedComments.map((comment) => {
- const authorName =
- comment.author?.name || comment.guestName || 'Anonymous';
- const isEditing = editingCommentId === comment.id;
- const isReplying = replyingTo === comment.id;
- const canEditComment = comment.canEdit ?? (comment.author?.id === currentUserId);
- const canDeleteComment = comment.canDelete ?? (comment.author?.id === currentUserId || projectOwnerId === currentUserId);
- const canManageComment = canEditComment || canDeleteComment;
- return (
-
+
+
+ {assetsPane}
+
+
+
+ {filteredComments.length === 0 ? (
+
+
+
No comments yet
+
Be the first to leave feedback!
+
+ ) : (
+ sortedComments.map((comment) => {
+ const authorName =
+ comment.author?.name || comment.guestName || 'Anonymous';
+ const isEditing = editingCommentId === comment.id;
+ const isReplying = replyingTo === comment.id;
+ const canEditComment = comment.canEdit ?? (comment.author?.id === currentUserId);
+ const canDeleteComment = comment.canDelete ?? (comment.author?.id === currentUserId || projectOwnerId === currentUserId);
+ const canManageComment = canEditComment || canDeleteComment;
+ return (
+
@@ -884,10 +889,11 @@ export const CommentsPane = memo(function CommentsPane({
Reply
)}
-
- );
- })
- )}
+
+ );
+ })
+ )}
+
{activePane === 'comments' ? composer : null}