Skip to content

Commit

Permalink
Update blockClientId
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Nov 8, 2024
1 parent 912ec5a commit 154c273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/components/collab-sidebar/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ export function Comments( {
const block = findBlockByCommentId( blocksList, thread.id );

if ( block ) {
const bclientId = block.clientId;
const blockClientId = block.clientId;
const blockElement = document.getElementById(
'block-' + bclientId
'block-' + blockClientId
);

if ( blockElement ) {
Expand Down

0 comments on commit 154c273

Please sign in to comment.