diff --git a/ui/component/fileDescription/view.jsx b/ui/component/fileDescription/view.jsx index b916e8850..369452258 100644 --- a/ui/component/fileDescription/view.jsx +++ b/ui/component/fileDescription/view.jsx @@ -23,7 +23,7 @@ type Props = { }; function FileDescription(props: Props) { - const { uri, claim, metadata, tags, pendingAmount, doOpenModal, claimIsMine } = props; + const { uri, claim, metadata, pendingAmount, doOpenModal, claimIsMine } = props; const [expanded, setExpanded] = React.useState(false); const [showCreditDetails, setShowCreditDetails] = React.useState(false); const amount = parseFloat(claim.amount) + parseFloat(pendingAmount || claim.meta.support_amount); @@ -36,8 +36,6 @@ function FileDescription(props: Props) { const { description } = metadata; - if (!description && !(tags && tags.length)) return null; - return (