diff options
author | Quentin Gliech <quentingliech@gmail.com> | 2020-09-30 17:31:48 +0200 |
---|---|---|
committer | Quentin Gliech <quentingliech@gmail.com> | 2020-09-30 17:31:48 +0200 |
commit | f4433d80c4fe6ad1ddf00bd8bcda99c15dc38450 (patch) | |
tree | 00944f334894303148980faf4a2d85723922aad3 /webui/src/pages/bug/Bug.tsx | |
parent | db20bc34e5cd696842f459b1d0b8b6aa6457d739 (diff) | |
download | git-bug-f4433d80c4fe6ad1ddf00bd8bcda99c15dc38450.tar.gz |
webui: dependencies upgrades
Most upgrades are minor version without breaking changes.
One big upgrade is Apollo 2 -> 3, which required a few changes in the
Apollo setup (see src/apollo.ts).
Other changes are due to changes in Prettier, requiring to add
parenthesis around arrow function parameters.
Because of an incompatibility in older version of typescript-eslint with
newer versions of typescript, I had to switch to the "next" unstable
version of react-scripts. It should not break stuff though.
See typescript-eslint/typescript-eslint#2442
Diffstat (limited to 'webui/src/pages/bug/Bug.tsx')
-rw-r--r-- | webui/src/pages/bug/Bug.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/pages/bug/Bug.tsx b/webui/src/pages/bug/Bug.tsx index 34a3aa26..8d6d11cc 100644 --- a/webui/src/pages/bug/Bug.tsx +++ b/webui/src/pages/bug/Bug.tsx @@ -12,7 +12,7 @@ import { BugFragment } from './Bug.generated'; import CommentForm from './CommentForm'; import TimelineQuery from './TimelineQuery'; -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles((theme) => ({ main: { maxWidth: 1000, margin: 'auto', @@ -103,7 +103,7 @@ function Bug({ bug }: Props) { {bug.labels.length === 0 && ( <span className={classes.noLabel}>None yet</span> )} - {bug.labels.map(l => ( + {bug.labels.map((l) => ( <li className={classes.label} key={l.name}> <Label label={l} key={l.name} /> </li> |