diff --git a/renderer/components/Request/RequestSummary.js b/renderer/components/Request/RequestSummary.js index dc184bc0d72..42d6f6f3490 100644 --- a/renderer/components/Request/RequestSummary.js +++ b/renderer/components/Request/RequestSummary.js @@ -92,31 +92,33 @@ const RequestSummary = ({ invoice = {}, payReq, intl, showNotification, ...rest - - - - + {payReq && ( + + + + + + + + } + right={ + + - - - } - right={ - - - - } - /> + } + /> + )} @@ -162,8 +164,8 @@ const RequestSummary = ({ invoice = {}, payReq, intl, showNotification, ...rest RequestSummary.propTypes = { intl: intlShape.isRequired, - invoice: PropTypes.object, - payReq: PropTypes.string.isRequired, + invoice: PropTypes.object.isRequired, + payReq: PropTypes.string, showNotification: PropTypes.func.isRequired, }