aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Comment.js
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-14 02:06:02 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-14 02:06:02 +0200
commit5edcb6c8bd430af4c26567d19c388d4c3e30b681 (patch)
treeb47590b6c880f62f0b386e5433aafd010093ab03 /webui/src/Comment.js
parent4c850b598939536b2e09ed520e427e94d0026211 (diff)
downloadgit-bug-5edcb6c8bd430af4c26567d19c388d4c3e30b681.tar.gz
webui: revamp the bug list
Diffstat (limited to 'webui/src/Comment.js')
-rw-r--r--webui/src/Comment.js27
1 files changed, 13 insertions, 14 deletions
diff --git a/webui/src/Comment.js b/webui/src/Comment.js
index a4fd1b40..bc108083 100644
--- a/webui/src/Comment.js
+++ b/webui/src/Comment.js
@@ -1,20 +1,19 @@
-import React from "react";
-import gql from "graphql-tag";
-import { withStyles } from "@material-ui/core/styles";
-
-import Avatar from "@material-ui/core/Avatar";
-import Card from "@material-ui/core/Card";
-import CardContent from "@material-ui/core/CardContent";
-import CardHeader from "@material-ui/core/CardHeader";
-import Typography from "@material-ui/core/Typography";
+import Avatar from '@material-ui/core/Avatar'
+import Card from '@material-ui/core/Card'
+import CardContent from '@material-ui/core/CardContent'
+import CardHeader from '@material-ui/core/CardHeader'
+import { withStyles } from '@material-ui/core/styles'
+import Typography from '@material-ui/core/Typography'
+import gql from 'graphql-tag'
+import React from 'react'
const styles = theme => ({
comment: {
marginBottom: theme.spacing.unit
}
-});
+})
-const Comment = withStyles(styles)(({ comment, classes }) => (
+const Comment = withStyles(styles)(({comment, classes}) => (
<Card className={classes.comment}>
<CardHeader
avatar={
@@ -29,7 +28,7 @@ const Comment = withStyles(styles)(({ comment, classes }) => (
<Typography component="p">{comment.message}</Typography>
</CardContent>
</Card>
-));
+))
Comment.fragment = gql`
fragment Comment on Comment {
@@ -39,6 +38,6 @@ Comment.fragment = gql`
email
}
}
-`;
+`
-export default withStyles(styles)(Comment);
+export default withStyles(styles)(Comment)