aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/pages/bug/SetStatus.tsx
diff options
context:
space:
mode:
authorludovicm67 <ludovicmuller1@gmail.com>2020-02-22 19:25:37 +0100
committerludovicm67 <ludovicmuller1@gmail.com>2020-02-22 19:25:37 +0100
commitf96484391ae817a18f503b5c31cd3bd2211553df (patch)
tree1d5db85021d2410c6b9facf65053996f307075b9 /webui/src/pages/bug/SetStatus.tsx
parent218d460590a29fe84b94c024712a095e5f82f917 (diff)
downloadgit-bug-f96484391ae817a18f503b5c31cd3bd2211553df.tar.gz
webui: run linter fix
Diffstat (limited to 'webui/src/pages/bug/SetStatus.tsx')
-rw-r--r--webui/src/pages/bug/SetStatus.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webui/src/pages/bug/SetStatus.tsx b/webui/src/pages/bug/SetStatus.tsx
index 56fde6f9..e9674424 100644
--- a/webui/src/pages/bug/SetStatus.tsx
+++ b/webui/src/pages/bug/SetStatus.tsx
@@ -2,11 +2,11 @@ import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
+import { Status } from '../../gqlTypes';
import Author from 'src/components/Author';
import Date from 'src/components/Date';
import { SetStatusFragment } from './SetStatusFragment.generated';
-import { Status } from '../../gqlTypes'
const useStyles = makeStyles(theme => ({
main: {
@@ -24,7 +24,9 @@ type Props = {
function SetStatus({ op }: Props) {
const classes = useStyles();
- const status = { [Status.Open]: 'reopened', [Status.Closed]: 'closed' }[op.status]
+ const status = { [Status.Open]: 'reopened', [Status.Closed]: 'closed' }[
+ op.status
+ ];
return (
<div className={classes.main}>