diff options
Diffstat (limited to 'webui/src/components/CloseBugWithCommentButton')
-rw-r--r-- | webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql | 1 | ||||
-rw-r--r-- | webui/src/components/CloseBugWithCommentButton/index.tsx | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql b/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql index eb736f53..66c84c35 100644 --- a/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql +++ b/webui/src/components/CloseBugWithCommentButton/CloseBugWithComment.graphql @@ -8,4 +8,3 @@ mutation AddCommentAndCloseBug($input: AddCommentAndCloseBugInput!) { } } } - diff --git a/webui/src/components/CloseBugWithCommentButton/index.tsx b/webui/src/components/CloseBugWithCommentButton/index.tsx index a0fefa4a..cbf3f757 100644 --- a/webui/src/components/CloseBugWithCommentButton/index.tsx +++ b/webui/src/components/CloseBugWithCommentButton/index.tsx @@ -24,10 +24,8 @@ interface Props { } function CloseBugWithCommentButton({ bug, comment, postClick }: Props) { - const [ - addCommentAndCloseBug, - { loading, error }, - ] = useAddCommentAndCloseBugMutation(); + const [addCommentAndCloseBug, { loading, error }] = + useAddCommentAndCloseBugMutation(); const classes = useStyles(); function addCommentAndCloseBugAction() { |