aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Date.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/Date.js
parent8575abf285d1dd71990b619fbdf3cd44dbc48e75 (diff)
downloadgit-bug-bb4ebed08c3f1b1a7ba9968ede75a07f1705d2df.tar.gz
webui: Format everything with prettier
Diffstat (limited to 'webui/src/Date.js')
-rw-r--r--webui/src/Date.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/webui/src/Date.js b/webui/src/Date.js
index b20fd274..46741924 100644
--- a/webui/src/Date.js
+++ b/webui/src/Date.js
@@ -1,11 +1,11 @@
-import Tooltip from '@material-ui/core/Tooltip/Tooltip'
-import * as moment from 'moment'
-import React from 'react'
+import Tooltip from '@material-ui/core/Tooltip/Tooltip';
+import * as moment from 'moment';
+import React from 'react';
-const Date = ({date}) => (
+const Date = ({ date }) => (
<Tooltip title={moment(date).format('MMMM D, YYYY, h:mm a')}>
<span> {moment(date).fromNow()} </span>
</Tooltip>
-)
+);
-export default Date
+export default Date;