mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(web): ♻ rm PublishedDate from ui
This commit is contained in:
parent
dc97319d75
commit
a9c4408d96
2 changed files with 0 additions and 15 deletions
|
|
@ -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;
|
||||
|
|
@ -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" }}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue