From e89375f2294aef19415f061400438a57a1007397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sat, 13 Oct 2018 12:29:47 +0200 Subject: [PATCH] fix js formatting with prettier --- webui/src/Author.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui/src/Author.js b/webui/src/Author.js index e8fe9f94b78b2ecff76ca10a1bb6ac0a1b87491c..7285ed4bd704d1798fd121a3fc34af83210dfa49 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 {author.displayName} + if (!author.email) { + return {author.displayName}; } return (