From e5d379b9a3325312351a2f86f8cc6e0639c2173f Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 5 Dec 2024 10:33:11 +0530 Subject: [PATCH] Feedback updates --- packages/editor/src/components/collab-sidebar/comments.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/editor/src/components/collab-sidebar/comments.js b/packages/editor/src/components/collab-sidebar/comments.js index b8c4ff86fb088b..e7895f3a25fde4 100644 --- a/packages/editor/src/components/collab-sidebar/comments.js +++ b/packages/editor/src/components/collab-sidebar/comments.js @@ -35,7 +35,7 @@ import CommentForm from './comment-form'; * @param {Function} props.onAddReply - The function to add a reply to a comment. * @param {Function} props.onCommentDelete - The function to delete a comment. * @param {Function} props.onCommentResolve - The function to mark a comment as resolved. - * @return {JSX.Element} The rendered Comments component. + * @return {React.ReactNode} The rendered Comments component. */ export function Comments( { threads, @@ -46,8 +46,6 @@ 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 handleConfirmDelete = () => { onCommentDelete( actionState.id );