Enable comment deletion on CommentDrawer (#460)

* Enable comment deletion on people and companies page

* Add storybook test
This commit is contained in:
Charles Bochet
2023-06-27 09:00:14 -07:00
committed by GitHub
parent c9038bb93a
commit a6b2fd75ba
12 changed files with 199 additions and 37 deletions

View File

@ -60,3 +60,11 @@ export const REMOVE_COMMENT_THREAD_TARGET = gql`
}
}
`;
export const DELETE_COMMENT_THREAD = gql`
mutation DeleteCommentThread($commentThreadId: String!) {
deleteManyCommentThreads(where: { id: { equals: $commentThreadId } }) {
count
}
}
`;