aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Bug.js
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2018-08-18 17:00:53 -0400
committerSandhose <quentingliech@gmail.com>2018-08-19 23:14:45 +0200
commitbb4ebed08c3f1b1a7ba9968ede75a07f1705d2df (patch)
treedd6998679330f1814001011c339ba7ee1da876d9 /webui/src/bug/Bug.js
parent8575abf285d1dd71990b619fbdf3cd44dbc48e75 (diff)
downloadgit-bug-bb4ebed08c3f1b1a7ba9968ede75a07f1705d2df.tar.gz
webui: Format everything with prettier
Diffstat (limited to 'webui/src/bug/Bug.js')
-rw-r--r--webui/src/bug/Bug.js52
1 files changed, 26 insertions, 26 deletions
diff --git a/webui/src/bug/Bug.js b/webui/src/bug/Bug.js
index c6edda35..329fdd72 100644
--- a/webui/src/bug/Bug.js
+++ b/webui/src/bug/Bug.js
@@ -1,49 +1,49 @@
-import { withStyles } from "@material-ui/core/styles";
-import Typography from "@material-ui/core/Typography/Typography";
-import gql from "graphql-tag";
-import React from "react";
-import Author from "../Author";
-import Date from "../Date";
-import TimelineQuery from "./TimelineQuery";
-import Label from "../Label";
+import { withStyles } from '@material-ui/core/styles';
+import Typography from '@material-ui/core/Typography/Typography';
+import gql from 'graphql-tag';
+import React from 'react';
+import Author from '../Author';
+import Date from '../Date';
+import TimelineQuery from './TimelineQuery';
+import Label from '../Label';
const styles = theme => ({
main: {
maxWidth: 600,
- margin: "auto",
- marginTop: theme.spacing.unit * 4
+ margin: 'auto',
+ marginTop: theme.spacing.unit * 4,
},
header: {},
title: {
- ...theme.typography.headline
+ ...theme.typography.headline,
},
id: {
...theme.typography.subheading,
- marginLeft: 15
+ marginLeft: 15,
},
container: {
- display: "flex",
- marginBottom: 30
+ display: 'flex',
+ marginBottom: 30,
},
timeline: {
- width: "70%",
+ width: '70%',
marginTop: 20,
- marginRight: 20
+ marginRight: 20,
},
sidebar: {
- width: "30%"
+ width: '30%',
},
labelList: {
- listStyle: "none",
+ listStyle: 'none',
padding: 0,
- margin: 0
+ margin: 0,
},
label: {
- margin: "4px 0",
- "& > *": {
- display: "block"
- }
- }
+ margin: '4px 0',
+ '& > *': {
+ display: 'block',
+ },
+ },
});
const Bug = ({ bug, classes }) => (
@@ -52,7 +52,7 @@ const Bug = ({ bug, classes }) => (
<span className={classes.title}>{bug.title}</span>
<span className={classes.id}>{bug.humanId}</span>
- <Typography color={"textSecondary"}>
+ <Typography color={'textSecondary'}>
<Author author={bug.author} />
<span> opened this bug </span>
<Date date={bug.createdAt} />
@@ -64,7 +64,7 @@ const Bug = ({ bug, classes }) => (
<TimelineQuery id={bug.id} />
</div>
<div className={classes.sidebar}>
- <Typography variant={"subheading"}>Labels</Typography>
+ <Typography variant={'subheading'}>Labels</Typography>
<ul className={classes.labelList}>
{bug.labels.map(l => (
<li className={classes.label}>