From e1228fa471b985c815cf57fb898f0cd77529911c Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 15 Feb 2019 13:10:57 +0100 Subject: [PATCH] asset details rendering fix --- src/routes/Details/AssetDetails.tsx | 19 +++++++------------ src/routes/Details/index.tsx | 22 ++++++++++++---------- tsconfig.json | 10 ++-------- 3 files changed, 21 insertions(+), 30 deletions(-) diff --git a/src/routes/Details/AssetDetails.tsx b/src/routes/Details/AssetDetails.tsx index 6fbb152..bfc2617 100644 --- a/src/routes/Details/AssetDetails.tsx +++ b/src/routes/Details/AssetDetails.tsx @@ -11,41 +11,36 @@ interface AssetDetailsProps { export default class AssetDetails extends PureComponent { public render() { const { metadata, ddo, purchaseAsset } = this.props + const { base } = metadata return ( <> -
{metadata.base.description}
+
{base.description}