From 8367a4408c7e401270f59ad736ef0149e0873dde Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 28 Nov 2024 13:00:27 +0530 Subject: [PATCH] Linting issues fixed --- packages/editor/src/components/collab-sidebar/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/collab-sidebar/comments.js b/packages/editor/src/components/collab-sidebar/comments.js index 5e5b3397cd96dd..9345253473aeab 100644 --- a/packages/editor/src/components/collab-sidebar/comments.js +++ b/packages/editor/src/components/collab-sidebar/comments.js @@ -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 ); @@ -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 }