aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Bug.js
diff options
context:
space:
mode:
Diffstat (limited to 'webui/src/Bug.js')
-rw-r--r--webui/src/Bug.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/webui/src/Bug.js b/webui/src/Bug.js
index bca23e58..91463b51 100644
--- a/webui/src/Bug.js
+++ b/webui/src/Bug.js
@@ -1,27 +1,27 @@
-import React from "react";
-import gql from "graphql-tag";
-import { withStyles } from "@material-ui/core/styles";
+import { withStyles } from '@material-ui/core/styles'
+import gql from 'graphql-tag'
+import React from 'react'
+import BugSummary from './BugSummary'
-import Comment from "./Comment";
-import BugSummary from "./BugSummary";
+import Comment from './Comment'
const styles = theme => ({
main: {
maxWidth: 600,
- margin: "auto",
+ margin: 'auto',
marginTop: theme.spacing.unit * 4
}
-});
+})
-const Bug = ({ bug, classes }) => (
+const Bug = ({bug, classes}) => (
<main className={classes.main}>
- <BugSummary bug={bug} />
+ <BugSummary bug={bug}/>
- {bug.comments.edges.map(({ cursor, node }) => (
- <Comment key={cursor} comment={node} />
+ {bug.comments.edges.map(({cursor, node}) => (
+ <Comment key={cursor} comment={node}/>
))}
</main>
-);
+)
Bug.fragment = gql`
fragment Bug on Bug {
@@ -38,6 +38,6 @@ Bug.fragment = gql`
${BugSummary.fragment}
${Comment.fragment}
-`;
+`
-export default withStyles(styles)(Bug);
+export default withStyles(styles)(Bug)