aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/ReopenBugWithCommentButton
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2022-02-16 10:27:26 +0100
committerQuentin Gliech <quentingliech@gmail.com>2022-02-16 10:27:26 +0100
commitce50269639988e39fe4e27cc8c309a9d5c75c958 (patch)
treed6ccbc61dcabc065acce19497a7e26f49d905139 /webui/src/components/ReopenBugWithCommentButton
parent11d51bee9e2a535e5308bb6f1d23cab351d66923 (diff)
downloadgit-bug-ce50269639988e39fe4e27cc8c309a9d5c75c958.tar.gz
webui: upgrade most dependencies
Also reformat everything with prettier
Diffstat (limited to 'webui/src/components/ReopenBugWithCommentButton')
-rw-r--r--webui/src/components/ReopenBugWithCommentButton/ReopenBugWithComment.graphql1
-rw-r--r--webui/src/components/ReopenBugWithCommentButton/index.tsx6
2 files changed, 2 insertions, 5 deletions
diff --git a/webui/src/components/ReopenBugWithCommentButton/ReopenBugWithComment.graphql b/webui/src/components/ReopenBugWithCommentButton/ReopenBugWithComment.graphql
index 4c220208..5258a1aa 100644
--- a/webui/src/components/ReopenBugWithCommentButton/ReopenBugWithComment.graphql
+++ b/webui/src/components/ReopenBugWithCommentButton/ReopenBugWithComment.graphql
@@ -8,4 +8,3 @@ mutation AddCommentAndReopenBug($input: AddCommentAndReopenBugInput!) {
}
}
}
-
diff --git a/webui/src/components/ReopenBugWithCommentButton/index.tsx b/webui/src/components/ReopenBugWithCommentButton/index.tsx
index 0a534f27..817054b8 100644
--- a/webui/src/components/ReopenBugWithCommentButton/index.tsx
+++ b/webui/src/components/ReopenBugWithCommentButton/index.tsx
@@ -15,10 +15,8 @@ interface Props {
}
function ReopenBugWithCommentButton({ bug, comment, postClick }: Props) {
- const [
- addCommentAndReopenBug,
- { loading, error },
- ] = useAddCommentAndReopenBugMutation();
+ const [addCommentAndReopenBug, { loading, error }] =
+ useAddCommentAndReopenBugMutation();
function addCommentAndReopenBugAction() {
addCommentAndReopenBug({