diff --git a/src/renderer/component/filePrice/view.jsx b/src/renderer/component/filePrice/view.jsx index 090c93126..e40a6c25e 100644 --- a/src/renderer/component/filePrice/view.jsx +++ b/src/renderer/component/filePrice/view.jsx @@ -35,20 +35,14 @@ class FilePrice extends React.PureComponent { render() { const { costInfo, showFullPrice } = this.props; - const isEstimate = costInfo ? !costInfo.includesData : false; - - if (!costInfo) { - return PRICE; - } - - return ( + return costInfo ? ( - ); + ) : null; } }