Skip to content

Commit

Permalink
Update comment for new arguments of comments component
Browse files Browse the repository at this point in the history
  • Loading branch information
akasunil committed Nov 19, 2024
1 parent dde9538 commit 9b39b1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/editor/src/components/collab-sidebar/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ 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.
* @param {boolean} props.showCommentBoard - The function to edit the comment.
* @param {Function} props.setShowCommentBoard - The function to delete the comment.
* @param {boolean} props.showCommentBoard - Whether to show the comment board.
* @param {Function} props.setShowCommentBoard - The function to set the comment board visibility.
* @return {JSX.Element} The rendered Comments component.
*/
export function Comments( {
Expand Down Expand Up @@ -248,6 +248,7 @@ export function Comments( {
thread.id
);
setActionState( false );
setShowCommentBoard( false );
} }
onCancel={ () => {
setActionState( false );
Expand Down

0 comments on commit 9b39b1c

Please sign in to comment.