aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/MessageHistoryDialog.tsx
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/pages/bug/MessageHistoryDialog.tsx
parent11d51bee9e2a535e5308bb6f1d23cab351d66923 (diff)
downloadgit-bug-ce50269639988e39fe4e27cc8c309a9d5c75c958.tar.gz
webui: upgrade most dependencies
Also reformat everything with prettier
Diffstat (limited to 'webui/src/pages/bug/MessageHistoryDialog.tsx')
-rw-r--r--webui/src/pages/bug/MessageHistoryDialog.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/webui/src/pages/bug/MessageHistoryDialog.tsx b/webui/src/pages/bug/MessageHistoryDialog.tsx
index df8915d9..84848cce 100644
--- a/webui/src/pages/bug/MessageHistoryDialog.tsx
+++ b/webui/src/pages/bug/MessageHistoryDialog.tsx
@@ -179,12 +179,10 @@ function MessageHistoryDialog({ bugId, commentId, open, onClose }: Props) {
const history = comment?.history.slice().reverse();
const editCount = history?.length === undefined ? 0 : history?.length - 1;
- const handleChange = (panel: string) => (
- event: React.ChangeEvent<{}>,
- newExpanded: boolean
- ) => {
- setExpanded(newExpanded ? panel : false);
- };
+ const handleChange =
+ (panel: string) => (event: React.ChangeEvent<{}>, newExpanded: boolean) => {
+ setExpanded(newExpanded ? panel : false);
+ };
const getSummary = (index: number, date: Date) => {
const desc =