aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-13 12:29:47 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-13 12:29:47 +0200
commite89375f2294aef19415f061400438a57a1007397 (patch)
tree329ddd05f3e6ae520ac008ebb41eac8a74017217
parenta37a53203d8ee2d84edccacb9c68828602e2f811 (diff)
downloadgit-bug-e89375f2294aef19415f061400438a57a1007397.tar.gz
fix js formatting with prettier
-rw-r--r--webui/src/Author.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/Author.js b/webui/src/Author.js
index e8fe9f94..7285ed4b 100644
--- a/webui/src/Author.js
+++ b/webui/src/Author.js
@@ -1,6 +1,6 @@
+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: {
@@ -14,8 +14,8 @@ const styles = theme => ({
const Author = ({ author, bold, classes }) => {
const klass = bold ? [classes.author, classes.bold] : [classes.author];
- if(!author.email) {
- return <span className={klass.join(' ')}>{author.displayName}</span>
+ if (!author.email) {
+ return <span className={klass.join(' ')}>{author.displayName}</span>;
}
return (