Skip to content

Commit

Permalink
remove DownloadCountOlder
Browse files Browse the repository at this point in the history
  • Loading branch information
larsb24 committed Aug 2, 2023
1 parent 16bdc6c commit 3a4ecb5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ const VersionInfo = styled.p`
font-size: 1.1rem;
`;

const DownloadCountOlder = styled.p`
color: ${({ theme }) => theme.palette.text.secondary};
@media (max-width: 1250px) {
font-size: 0.9rem;
}
`;

const Changelogs = styled.p`
color: ${({ theme }) => theme.palette.text.primary};
Expand All @@ -117,7 +109,7 @@ const ChangelogContainer = styled.div`
bottom: -15px;
`;

const StyledButton = styled(Button)<{
const StyledButton = styled(Button) <{
isSecondary?: boolean;
isOlderRelease?: boolean;
isDialogAction?: boolean;
Expand Down Expand Up @@ -440,7 +432,7 @@ const Download = () => {
{getDate(oldRelease.published_at)}{" "}
{oldRelease.assets[0].name.includes("efi")
? oldRelease.assets[0].download_count +
oldRelease.assets[1].download_count
oldRelease.assets[1].download_count
: oldRelease.assets[0].download_count}{" "}
Downloads
</DownloadSubtitle>
Expand Down

0 comments on commit 3a4ecb5

Please sign in to comment.