refactor(web): ♻ rm PublishedDate from ui

This commit is contained in:
Collin M. Barrett 2020-08-29 14:56:49 -05:00
parent dc97319d75
commit a9c4408d96
2 changed files with 0 additions and 15 deletions

View file

@ -1,13 +0,0 @@
import React from "react";
interface Props {
publishedDate: string;
}
export const PublishedDate = (props: Props) =>
props.publishedDate ? (
<>
<h3>First Published Date:</h3>
{new Date(props.publishedDate).toDateString()}
</>
) : null;

View file

@ -24,7 +24,6 @@ import { LinkButton } from "../LinkButton";
import { List } from "../../interfaces/List";
import { Maintainer } from "../../interfaces/Maintainer";
import { Maintainers } from "../maintainers";
import { PublishedDate } from "../PublishedDate";
import { RouteComponentProps } from "react-router-dom";
import { Software } from "../../interfaces/Software";
import { SoftwareCloud } from "../softwareCloud";
@ -85,7 +84,6 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => {
/>
)}
<SoftwareCloud software={props.software} showLabel={true} />
<PublishedDate publishedDate={props.list.publishedDate} />
<Maintainers maintainers={props.maintainers} />
<Divider />
<ButtonGroup style={{ display: "inherit" }}>