hunk.code_window:     Flux<ActionDTO> getUnpublishedActionsExceptJs(MultiValueMap<String, String> params);
       Mono<NewAction> findByBranchNameAndDefaultActionId(String branchName, String defaultActionId, AclPermission permission);
       Mono<String> findBranchedIdByBranchNameAndDefaultActionId(String branchName, String defaultActionId, AclPermission permission);
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:     Flux<ActionDTO> getUnpublishedActionsExceptJs(MultiValueMap<String, String> params, String branchName);
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewActionServiceCE.java
hunk.type: add
file: import { Comment } from "entities/Comments/CommentsInterfaces";
  import { ReduxAction } from "constants/ReduxActionConstants";
  import { CommentsReduxState } from "./interfaces";
  import { deleteCommentFromState } from "./common";
  
  const handleDeleteCommentEvent = (
    state: CommentsReduxState,
    action: ReduxAction<Comment>,
  ) => {
    const { _id: commentId, threadId } = action.payload;
  
    const updatedState = deleteCommentFromState(state, commentId, threadId);
  
    return { ...updatedState };
  };
  
  export default handleDeleteCommentEvent;
  