Skip to content

Commit

Permalink
[desk-tool] Fix SinceText component
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 51fbe67 commit 14733c4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,9 @@ export function ChangesPanel({
function SinceText({since}: {since: Chunk}) {
const timeAgo = useTimeAgo(since.endTimestamp)

return `Since ${formatTimelineEventLabel(since.type)} ${timeAgo}`
return (
<>
Since {formatTimelineEventLabel(since.type)} {timeAgo}
</>
)
}

0 comments on commit 14733c4

Please sign in to comment.