aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/SetTitle.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/SetTitle.js
parent8575abf285d1dd71990b619fbdf3cd44dbc48e75 (diff)
downloadgit-bug-bb4ebed08c3f1b1a7ba9968ede75a07f1705d2df.tar.gz
webui: Format everything with prettier
Diffstat (limited to 'webui/src/bug/SetTitle.js')
-rw-r--r--webui/src/bug/SetTitle.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/webui/src/bug/SetTitle.js b/webui/src/bug/SetTitle.js
index b6bb8b70..838219e2 100644
--- a/webui/src/bug/SetTitle.js
+++ b/webui/src/bug/SetTitle.js
@@ -1,19 +1,19 @@
-import { withStyles } from '@material-ui/core/styles'
-import gql from 'graphql-tag'
-import React from 'react'
-import Author from '../Author'
-import Date from '../Date'
+import { withStyles } from '@material-ui/core/styles';
+import gql from 'graphql-tag';
+import React from 'react';
+import Author from '../Author';
+import Date from '../Date';
const styles = theme => ({
main: {
- ...theme.typography.body2
+ ...theme.typography.body2,
},
bold: {
- fontWeight: 'bold'
- }
-})
+ fontWeight: 'bold',
+ },
+});
-const SetTitle = ({op, classes}) => {
+const SetTitle = ({ op, classes }) => {
return (
<div className={classes.main}>
<Author author={op.author} bold />
@@ -23,8 +23,8 @@ const SetTitle = ({op, classes}) => {
<span className={classes.bold}>{op.title}</span>
<Date date={op.date} />
</div>
- )
-}
+ );
+};
SetTitle.fragment = gql`
fragment SetTitle on Operation {
@@ -38,6 +38,6 @@ SetTitle.fragment = gql`
was
}
}
-`
+`;
-export default withStyles(styles)(SetTitle)
+export default withStyles(styles)(SetTitle);