Skip to content

Commit

Permalink
Feedback updates
Browse files Browse the repository at this point in the history
  • Loading branch information
karthick-murugan committed Dec 5, 2024
1 parent 9d60b44 commit e5d379b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/editor/src/components/collab-sidebar/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 );
Expand Down

0 comments on commit e5d379b

Please sign in to comment.