aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Author.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/Author.js
parent8575abf285d1dd71990b619fbdf3cd44dbc48e75 (diff)
downloadgit-bug-bb4ebed08c3f1b1a7ba9968ede75a07f1705d2df.tar.gz
webui: Format everything with prettier
Diffstat (limited to 'webui/src/Author.js')
-rw-r--r--webui/src/Author.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/webui/src/Author.js b/webui/src/Author.js
index 37de7aa7..0ad7e257 100644
--- a/webui/src/Author.js
+++ b/webui/src/Author.js
@@ -1,24 +1,24 @@
-import Tooltip from '@material-ui/core/Tooltip/Tooltip'
-import React from 'react'
-import { withStyles } from '@material-ui/core/styles'
+import Tooltip from '@material-ui/core/Tooltip/Tooltip';
+import React from 'react';
+import { withStyles } from '@material-ui/core/styles';
const styles = theme => ({
author: {
...theme.typography.body2,
},
bold: {
- fontWeight: 'bold'
- }
-})
+ fontWeight: 'bold',
+ },
+});
-const Author = ({author, bold, classes}) => {
- const klass = bold ? [classes.author, classes.bold] : [classes.author]
+const Author = ({ author, bold, classes }) => {
+ const klass = bold ? [classes.author, classes.bold] : [classes.author];
return (
<Tooltip title={author.email}>
<span className={klass.join(' ')}>{author.name}</span>
</Tooltip>
- )
-}
+ );
+};
-export default withStyles(styles)(Author)
+export default withStyles(styles)(Author);