Skip to content

Commit

Permalink
Linting issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Nov 28, 2024
1 parent a7693d4 commit 8367a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/collab-sidebar/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function Comments( {
} ) {
const [ actionState, setActionState ] = useState( false );
const [ isConfirmDialogOpen, setIsConfirmDialogOpen ] = useState( false );
// eslint-disable-next-line no-unused-vars
const [ activeClientId, setActiveClientId ] = useState( null );
const [ blocksList, setBlocksList ] = useState( null );

Expand Down Expand Up @@ -121,7 +122,6 @@ export function Comments( {
const { selectBlock } = useDispatch( blockEditorStore );
const handleThreadClick = ( thread ) => {
const block = findBlockByCommentId( blocksList, thread.id );
console.log( 'block', block );
if ( block ) {
selectBlock( block.clientId ); // Use the action to select the block
}
Expand Down

0 comments on commit 8367a44

Please sign in to comment.