Use the repo push icon

This commit is contained in:
Andrew Eisenberg
2022-05-26 06:55:12 -07:00
parent f373e6467a
commit 770127e67a

View File

@@ -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>