refactor(web): ♻ rm List DescriptionSourceUrl from ui

This commit is contained in:
Collin M. Barrett 2020-08-29 14:57:38 -05:00
parent a9c4408d96
commit 73b8d72656
2 changed files with 2 additions and 13 deletions

View file

@ -2,14 +2,6 @@ import React from "react";
interface Props {
description: string;
descriptionSourceUrl: string;
}
export const Description = (props: Props) =>
props.descriptionSourceUrl ? (
<blockquote cite={props.descriptionSourceUrl}>
{props.description}
</blockquote>
) : (
<p>{props.description}</p>
);
export const Description = (props: Props) => <p>{props.description}</p>;

View file

@ -63,10 +63,7 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => {
destroyOnClose={true}
onClose={() => props.history.push("/")}
>
<Description
description={props.list.description}
descriptionSourceUrl={props.list.descriptionSourceUrl}
/>
<Description description={props.list.description} />
<LanguageCloud languages={props.languages} showLabel={true} />
<TagCloud tags={props.tags} showLabel={true} />
{props.license && (