Use the repo push icon
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import * as React from 'react';
|
||||
import { CalendarIcon } from '@primer/octicons-react';
|
||||
import { RepoPushIcon } from '@primer/octicons-react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Calendar = styled.span`
|
||||
const IconContainer = styled.span`
|
||||
flex-grow: 0;
|
||||
text-align: right;
|
||||
margin-right: 0;
|
||||
@@ -19,9 +19,9 @@ type Props = { lastUpdated?: number };
|
||||
const LastUpdated = ({ lastUpdated }: Props) => (
|
||||
Number.isFinite(lastUpdated) ? (
|
||||
<>
|
||||
<Calendar>
|
||||
<CalendarIcon size={16} />
|
||||
</Calendar>
|
||||
<IconContainer>
|
||||
<RepoPushIcon size={16} />
|
||||
</IconContainer>
|
||||
<Duration>
|
||||
{humanizeDuration(lastUpdated)}
|
||||
</Duration>
|
||||
|
||||
Reference in New Issue
Block a user