aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/Date.tsx
diff options
context:
space:
mode:
authorludovicm67 <ludovicmuller1@gmail.com>2020-02-22 19:25:37 +0100
committerludovicm67 <ludovicmuller1@gmail.com>2020-02-22 19:25:37 +0100
commitf96484391ae817a18f503b5c31cd3bd2211553df (patch)
tree1d5db85021d2410c6b9facf65053996f307075b9 /webui/src/components/Date.tsx
parent218d460590a29fe84b94c024712a095e5f82f917 (diff)
downloadgit-bug-f96484391ae817a18f503b5c31cd3bd2211553df.tar.gz
webui: run linter fix
Diffstat (limited to 'webui/src/components/Date.tsx')
-rw-r--r--webui/src/components/Date.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/src/components/Date.tsx b/webui/src/components/Date.tsx
index 8438b801..146a3496 100644
--- a/webui/src/components/Date.tsx
+++ b/webui/src/components/Date.tsx
@@ -11,7 +11,9 @@ const WEEK = 7 * DAY;
type Props = { date: string };
const Date = ({ date }: Props) => (
<Tooltip title={moment(date).format('LLLL')}>
- <span>on <Moment date={date} format='ll' fromNowDuring={WEEK} /></span>
+ <span>
+ on <Moment date={date} format="ll" fromNowDuring={WEEK} />
+ </span>
</Tooltip>
);