diff --git a/src/components/RecipientAddress/index.js b/src/components/RecipientAddress/index.js index 51b73f1c..24f7895d 100644 --- a/src/components/RecipientAddress/index.js +++ b/src/components/RecipientAddress/index.js @@ -85,27 +85,23 @@ class RecipientAddress extends PureComponent { const { onChange, withQrCode, value, ...rest } = this.props const { qrReaderOpened } = this.state + const renderRight = withQrCode ? ( + + + {qrReaderOpened && ( + + + + + + + )} + + ) : null + return ( - - - {qrReaderOpened && ( - - - - - - - )} - - } - /> + ) } diff --git a/src/components/modals/Send/fields/RecipientField.js b/src/components/modals/Send/fields/RecipientField.js index 67c69e60..872a6dd7 100644 --- a/src/components/modals/Send/fields/RecipientField.js +++ b/src/components/modals/Send/fields/RecipientField.js @@ -81,7 +81,7 @@ class RecipientField extends Component, { isVali />