Skip to content
Prev Previous commit
Update packages/editor/src/components/collab-sidebar/index.js
Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
  • Loading branch information
t-hamano and Mamaduka authored Sep 20, 2025
commit 945523ae314bafd99520888e5dd54ab0f233072b
2 changes: 1 addition & 1 deletion packages/editor/src/components/collab-sidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export default function CollabSidebar() {
? resultComments.find( ( thread ) => thread.id === blockCommentId )
: null;

// If postId is not a valid number, do not render the comment sidebar. 1Code has comments. Press enter to view.
// If postId is not a valid number, do not render the comment sidebar.
if ( ! ( !! postId && typeof postId === 'number' ) ) {
return null;
}
Expand Down
Loading