From 73b8d72656ada3a88af2ee47a01e75f6c209f3eb Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 29 Aug 2020 14:57:38 -0500 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E2=99=BB=20rm=20List=20Descri?= =?UTF-8?q?ptionSourceUrl=20from=20ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/Description.tsx | 10 +--------- web/src/components/listInfoDrawer/ListInfoDrawer.tsx | 5 +---- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/web/src/components/Description.tsx b/web/src/components/Description.tsx index 1a0471cf6..bb21d5f52 100644 --- a/web/src/components/Description.tsx +++ b/web/src/components/Description.tsx @@ -2,14 +2,6 @@ import React from "react"; interface Props { description: string; - descriptionSourceUrl: string; } -export const Description = (props: Props) => - props.descriptionSourceUrl ? ( -
- {props.description} -
- ) : ( -

{props.description}

- ); +export const Description = (props: Props) =>

{props.description}

; diff --git a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx index 21f5391de..eebdf5d4e 100644 --- a/web/src/components/listInfoDrawer/ListInfoDrawer.tsx +++ b/web/src/components/listInfoDrawer/ListInfoDrawer.tsx @@ -63,10 +63,7 @@ export const ListInfoDrawer = (props: RouteComponentProps & Props) => { destroyOnClose={true} onClose={() => props.history.push("/")} > - + {props.license && (